I have AMP pages which include amp-iframe.
One of amp-iframe validation rules is that it must be either 600px away from the top or not within the first 75% of the viewport when scrolled to the top – whichever is smaller. due to those docs: https://www.ampproject.org/docs/reference/components/amp-iframe
Currently i have a situation when my amp page is valid for some devices (iPhone4,5,6) and invalid for other (Nexus 7, Samsung Galaxy S5) just because those other have longer screens.
How will my pages be threatened in this case? As valid or invalid? Or as valid for some devices only?
As answered in Validate AMP Pages, if the AMP validation service detects that there’s something wrong with your page, it won’t get discovered and distributed by third party websites and won’t appear in the Google AMP Cache.
With this, to make your page valid with varying screen sizes, you may want to check Layout & Media queries for details on how to create responsive images by specifying the
width
andheight
, setting layout toresponsive
, and indicating withsrcset
which image asset to use based on varying screen sizes.To include
<1frames>
in your page, you can set layout to responsive:Hope that helps!