-
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-consent fullscreen restriction documentation #26487
Conversation
is this ready to merge? |
No, waiting for #26467 to get merged first |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Thanks
@@ -59,7 +59,7 @@ window.parent.postMessage( | |||
); | |||
``` | |||
|
|||
Action `'enter-fullscreen'` requests the AMP runtime to expand the iframe to fullscreen. | |||
Action `'enter-fullscreen'` requests the AMP runtime to expand the iframe to fullscreen. `amp-consent` will only allow the iframe enter fullscreen if it detects user interaction within iframe (e.g. clicking on the iframe). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
technically it's user interaction with the iframe, impossible to detect interaction within the iframe : )
Task 5 of #26432
Added documentation of new restriction on fullscreen API