amp-brid-player
Introduction
Embed Brid Player videos in your AMP HTML files.
Setup
Import the amp-brid-player
component in the header.
<script async custom-element="amp-brid-player" src="https://cdn.ampproject.org/v0/amp-brid-player-0.1.js"></script>
Basic usage
Embed Brid Player videos via the data-video
attribute.
<amp-brid-player data-partner="264" data-player="4144" data-video="13663" layout="responsive" width="480" height="270">
</amp-brid-player>
Playlist
Use the data-playlist
attribute for displaying a playlist. For a complete list of the attributes, refer to the official documentation.
<amp-brid-player data-partner="965" data-player="724" data-playlist="1220" layout="responsive" width="480" height="270">
</amp-brid-player>
If the explanations on this page don't cover all of your questions feel free to reach out to other AMP users to discuss your exact use case.
Go to Stack Overflow An unexplained 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.
Edit sample on GitHub-
Written by @kul3r4