Please only file bugs/feature requests for AMP here.
If you have a bug or feature request for AMP please fill in the following template. Delete everything except the headers (including this text).
Briefly describe the bug/feature request.
If this is a bug please provide a public URL and ideally a reduced test case (e.g. on jsbin.com) that exhibits only your issue and nothing else. Then provide step-by-step instructions for reproducing the issue:
If this is a feature request you can use this section to point to a prototype/mockup that will help us understand the request.
All browsers? Some specific browser? What device type?
Is this a new issue? Or was it always broken? Paste your AMP version. You can find it in the browser dev tools.
@madhuriKavade You can use a placeholder (https://www.ampproject.org/docs/guides/responsive/placeholders#) to get around that restriction.
Working Example: Iframe with a placeholder
<amp-iframe width=300 height=300
layout="responsive"
sandbox="allow-scripts allow-same-origin"
src="https://foo.com/iframe">
<amp-img layout="fill" src="https://foo.com/foo.png" placeholder></amp-img>
</amp-iframe>
Most helpful comment
@madhuriKavade You can use a
placeholder(https://www.ampproject.org/docs/guides/responsive/placeholders#) to get around that restriction.