This proposed amp-brightcove component would embed a responsive Brightcove player in an iframe. This single component would support publishers using either Brightcove's Video Cloud or Perform products.
Attributes specifying the publisher's account, player and video ids determine the embed url that will be used.
Example:
<amp-brightcove
data-account="12345"
data-player="default"
data-embed="default"
data-video-id="54321"
layout="responsive"
width="480" height="270">
</amp-brightcove>
The above would yield https://players.brightcove.net/12345/default_default/index.html?videoId=54321.
The component supports a pause postMessage event to pause the video.
This proposed
amp-brightcovecomponent would embed a responsive Brightcove player in an iframe. This single component would support publishers using either Brightcove's Video Cloud or Perform products.Attributes specifying the publisher's account, player and video ids determine the embed url that will be used.
Example:
The above would yield
https://players.brightcove.net/12345/default_default/index.html?videoId=54321.The component supports a pause postMessage event to pause the video.