ampproject / ampproject/amphtml
ATF amp-iframe inside Shadow DOM not working on Safari
- Dominant language
- JavaScript
- Stars
- 14.9k
- Forks
- 4.1k
- PR merge metrics
- No merged PRs in 30d
Description
ATF Amp-Iframe with a Placeholder inside a Sticky Element is not working and triggers error
`dom.js:645 amp-iframe is not used for displaying fixed ad. Please use amp-sticky-ad and amp-ad instead.`
Steps to Reproduce:
- Visita Page https://www.repstatic.it/cless/main/rep21/2017-v1/poc/video-iframe-blocked.html from Safari Mobile, Real Device or simulator, also reproducible on Chrome Mobile Safari Emulation.
- Click on audio icon on the bottom right corner.
Screenshot with error below:


It works fine on Chrome Mobile and other browsers, it seems a iOS specific issue.
Previously reported in [#18563](https://github.com/ampproject/amphtml/issues/18563)
@iwoak
@nainar
Contributor guide
Assessment
This issue has not been assessed yet.