Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
I2I: `amp-video-iframe` #16252
AMP provides a set of video players that range from simple wrappers to
Since AMP doesn't allow JS, it's a common use case to embed complex video players using
An alternative is to create a custom player component, but this is prohibitive since it expects a lot of investment from an external contributor. Supporting custom components also incurs a cost for the AMP team.
To implement a generic 3p iframe-based video player for AMP.
The iframe document must integrate with the component by sending the corresponding messages and responding to requests accordingly. To make it easier for developers, we'll provide a library that authors can employ to simplify the process of communicating with the host document.
Usage of amp-video-iframe for advertising
The reasons for this policy are that:
Pre/mid/post-roll ads are allowed.