amp-brightcove
Introduction
The amp-brightcove
component allows embedding a Brightcove Video Cloud or Perform player.
Setup
Import the Brightcove component in the header.
<script async custom-element="amp-brightcove" src="https://cdn.ampproject.org/v0/amp-brightcove-0.1.js"></script>
Basic Usage
A responsive brightcove video. The required data is data-account
and data-video-id
. Other supported parameters are data-player-id
, data-embed
and data-playlist-id
.
<amp-brightcove data-account="906043040001" data-video-id="1401169490001" data-player-id="180a5658-8be8-4f33-8eba-d562ab41b40c" layout="responsive" width="480" height="270">
</amp-brightcove>
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 @sebastianbenz