Skip to content
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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

馃摉 amp-consent fullscreen restriction documentation #26487

Merged
merged 5 commits into from
Feb 12, 2020

Conversation

micajuine-ho
Copy link
Contributor

@micajuine-ho micajuine-ho commented Jan 24, 2020

Task 5 of #26432

Added documentation of new restriction on fullscreen API

@lannka
Copy link
Contributor

lannka commented Feb 10, 2020

is this ready to merge?

@micajuine-ho
Copy link
Contributor Author

is this ready to merge?

No, waiting for #26467 to get merged first

@micajuine-ho micajuine-ho requested review from zhouyx and removed request for lannka February 11, 2020 23:03
Copy link
Contributor

@zhouyx zhouyx left a 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).
Copy link
Contributor

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 : )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants