-
Notifications
You must be signed in to change notification settings - Fork 3.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
amp-story and amp-iframe #39708
Comments
I believe this has always been invalid? At least for a long time. I believe last we checked (which was admittedly probably 4 years ago) it was not possible for the runtime to tell that an iframe had successfully loaded cross-browser. Specifically, if the site inside the frame does not allow itself to be framed, there was no way for us to be able to tell the difference. Additionally, allowing iframes to be interactive (i.e. receive pointer events) breaks the swipe down to close mechanism, since the inner document gets the pointer events and the story does not know about them. |
WRT
We are loading content from sites we own/control - not 3rd party sites. As illustrated in example, Not quite following this:
In our shared example, But I may be missing an important point you are making, so please redirect me if I'm off-base. |
OK, thanks for the explanation, I better understand. |
Description
problem with
amp-iframe
when used withamp-story
Reproduction Steps
at some historical point,
amp-iframe
was valid when used inamp-story-attachment
this example works
https://afdsi.com/_google/attachment-iframe-multiple-tabs-prism-json/
but is invalid
https://search.google.com/test/amp/result?id=8eMDrRKsPPmj0fi1VVCksA
also tabs are not selectable as demonstrated in #39707
note that the
amp-iframe
image can be resized (which is good)how to make the tab selector work?
also, please validate
amp-iframe
when used inamp-story attachment
Relevant Logs
No response
Browser(s) Affected
Chrome, Firefox, Safari
OS(s) Affected
No response
Device(s) Affected
No response
AMP Version Affected
No response
The text was updated successfully, but these errors were encountered: