Displays the AOL O2Player.
|Supported Layouts||fill, fixed, fixed-height, flex-item, nodisplay, responsive|
|Examples||Annotated code example for amp-o2-player|
height attributes determine the aspect ratio of the player embedded in responsive layouts.
<amp-o2-player data-pid="12345" data-bcid="5678" data-bid="54321" data-vid="98765" layout="responsive" width="480" height="270" > </amp-o2-player>
|data-pid (required)||The Player ID for the O2Player.|
|data-bcid (required)||The Buyer Company ID (bcid) for the O2Player.|
|data-bid||The Playlist ID (bid) for the O2Player.|
|data-vid||The Video ID (vid) for the O2Player.|
|data-macros||The macros for the O2Player.|
|common attributes||This element includes common attributes extended to AMP components.|
See amp-o2-player rules in the AMP validator specification.
The following lists validation errors specific to the
|The 'example1' tag is missing or incorrect, but required by 'example2'.||Error thrown when required
|The implied layout 'example1' is not supported by tag 'example2'.||Error thrown when implied layout is set to
|The specified layout 'example1' is not supported by tag 'example2'.||Error thrown when specified layout is set to
|The property 'example1' in attribute 'example2' in tag 'example3' is set to 'example4', which is invalid.||Error thrown when invalid value is given for attributes
You've read this document a dozen times but it doesn't really cover all of your questions? Maybe other people felt the same: reach out to them on Stack Overflow.Go to Stack Overflow Found a bug or missing a feature?
The AMP project strongly encourages your participation and contributions! We hope you'll become an ongoing participant in our open source community but we also welcome one-off contributions for the issues you're particularly passionate about.Go to GitHub