Important: this component does not support your currently selected format ads!
amp-brid-player
An amp-brid-player
displays the Brid Player used in Brid.tv Video Platform.
Required Script | <script async custom-element="amp-brid-player" src="https://cdn.ampproject.org/v0/amp-brid-player-0.1.js"></script> |
Supported Layouts | fill, fixed, fixed-height, flex-item, nodisplay, responsive |
Examples | Annotated code example for amp-brid-player |
Example
The width
and height
attributes determine the aspect ratio of the player embedded in responsive layouts.
Example:
<amp-brid-player data-partner="264" data-player="4144" data-video="13663" layout="responsive" width="480" height="270" > </amp-brid-player>
Attributes
autoplay | If this attribute is present, and the browser supports autoplay:
|
data-partner | The Brid.tv partner ID. |
data-player | The Brid.tv player ID. Specific to every partner. |
data-video | The Brid.tv video ID. |
data-playlist | The Brid.tv playlist ID or custom string value for dynamic playlists. |
data-outstream | The Brid.tv outstream unit ID. |
data-dynamic | Parameter used to specify type of dynamic playlist, e.g. latest, channel, tag. |
common attributes | This element includes common attributes extended to AMP components. |
Embed code must either have video, playlist or outstream attribute.
Validation
See amp-brid-player rules in the AMP validator specification.
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