-
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
Whitelist amp-lightbox as part of an AMP ad #7015
Comments
@dvoytenko / @tdrl do you recall if there was a reason we did not allow it to start? Do we expect it to behave properly when within a friendly frame? |
In A4A we can do this. I'm pretty sure it doesn't currently fully work. In 3p case, however, we need to establish some form of control. This would have to be done via messaging from the 3p iframe. We can't blankly allow all such requests from 3p. We have to ensure that request is sent on user action. This is similar how Btw, this is something we've been talking to browsers about. See whatwg/html#1983 and https://bugs.chromium.org/p/chromium/issues/detail?id=621631 |
@dvoytenko, I do mean just whitelisting it for A4A. Any more detail on what's blocking there? |
The full-screen overlay cannot escape the boundary of an iframe. So to make this work correctly in AMP, the whole iframe should be temporarily resized to take over the whole viewport. That by itself is ok, but we need to make sure the transition itself is not overly disruptive. |
Closing this in preference of #2736. |
amp-lightbox is currently not allowed in an AMP ad. Here is a legitimate use case.
https://joystick.app.box.com/s/oo42mzgbx8t6leohqfl4se98pvtcxzyp
CC @ampproject/a4a
Can we whitelist it?
The text was updated successfully, but these errors were encountered: