Skip to content

📖 amp-consent fullscreen restriction documentation#26487

Merged
micajuine-ho merged 5 commits intoampproject:masterfrom
micajuine-ho:fullscreen_doc
Feb 12, 2020
Merged

📖 amp-consent fullscreen restriction documentation#26487
micajuine-ho merged 5 commits intoampproject:masterfrom
micajuine-ho:fullscreen_doc

Conversation

@micajuine-ho
Copy link
Copy Markdown
Contributor

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

Task 5 of #26432

Added documentation of new restriction on fullscreen API

@lannka
Copy link
Copy Markdown
Contributor

lannka commented Feb 10, 2020

is this ready to merge?

@micajuine-ho
Copy link
Copy Markdown
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
Copy Markdown
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

```

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
Copy Markdown
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.

5 participants