amphtml icon indicating copy to clipboard operation
amphtml copied to clipboard

<amp-next-page> does not load amp-img and also it brakes amp-ad when it is loaded from google AMP viewer

Open carlosestevezmrf opened this issue 5 years ago • 9 comments

What's the issue?

I can only reproduce this in AMP documents loaded inside the Google Search results AMP viewer.

This can be reproduced If an amp page has <amp-next-page> tag that loads a page with amp-img and amp-ad tags.

The expected behavior is to load the amp-img a do not move the amp-ads.

I have found that there is an issue related to amp-next-page and amp-viewer-integration library image

How do we reproduce the issue?

  1. Open this URL with a mobile device.
  2. Open any article.
  3. Scroll down to the amp-next-page element.

This a video of the issue https://gyazo.com/ed4a3aa12520e0c4cd43b95b03b7de46 image

The same document loaded from the original URL works correctly. https://www.visaooeste.com.br/onde-esta-mc-ryan-jovem-de-itapevi-diz-que-vai-gravar-musica-e-desaparece/amp/

carlosestevezmrf avatar Jan 07 '21 16:01 carlosestevezmrf

I'm having similar issues with my amp-first website, amp-next-page has issues with layout dimensions for images and adverts, most images are showing on amp-next-pages but the dimensions are not correct - the issue only presents in the amp-viewer on mobile and desktop.

Looking at the console I can see the same errors image

Not having the issue going directly to an article: https://ahaan.co.uk/article/top_stories/3070-3080-3090-hdmi-2-1-gpu-into-the-living-room

The issue is not presented when viewing an article from the amp CDN: https://ahaan-co-uk.cdn.ampproject.org/c/s/ahaan.co.uk/article/top_stories/3070-3080-3090-hdmi-2-1-gpu-into-the-living-room

The issue can be replicated on desktop using the structured data preview tool: https://search.google.com/structured-data/testing-tool/u/0/#url=https%3A%2F%2Fahaan.co.uk%2Farticle%2Ftop_stories%2F3070-3080-3090-hdmi-2-1-gpu-into-the-living-room

a-haan avatar Jan 08 '21 20:01 a-haan

Hi i've got the same problems with many of my sites where i've implemented amp-next-page. Is there a solution to this?

lucamago avatar Jan 08 '21 23:01 lucamago

Hi, same problem here!

davideperfetto avatar Jan 11 '21 09:01 davideperfetto

Same problem for me

FrankBeescell avatar Jan 11 '21 12:01 FrankBeescell

We have been seeing this since early December on CNET. Might be the same/related to 30641

Cauchon avatar Jan 11 '21 19:01 Cauchon

We are seeing this as well. Might be the same/related to 30641

Yes looks like the same issue!

a-haan avatar Jan 11 '21 22:01 a-haan

Still no solutions?

lucamago avatar Jan 13 '21 10:01 lucamago

I'm working with the AMP viewer team to resolve this issue. We're not able to repro it, so it's making it rather challenging.

dmanek avatar Jan 13 '21 21:01 dmanek

Closing issue in favor of #31951.

The Google team has temporarily rolled back a release of module scripts from the Google AMP Cache, we'll use #31951 to track fixing the underlying issue.

kristoferbaxter avatar Jan 14 '21 15:01 kristoferbaxter