Description | An amp-springboard-player displays the Springboard Player used in Springboard Video Platform.
|
Availability | Stable |
Required Script | <script async custom-element="amp-springboard-player" src="https://cdn.ampproject.org/v0/amp-springboard-player-0.1.js"></script> |
Supported Layouts | fill, fixed, flex-item, responsive |
Examples | springboard-player.amp.html |
The width
and height
attributes determine the aspect ratio of the player embedded in responsive layouts.
Examples:
<amp-springboard-player
data-site-id="261"
data-mode="video"
data-content-id="1578473"
data-player-id="test401"
data-domain="test.com"
data-items="10"
layout="responsive" width="480" height="270">
</amp-springboard-player>
data-site-id
The SpringBoard site id. Specific to every partner.
data-mode
The SpringBoard player mode (video|playlist).
data-content-id
The SpringBoard player content id (video or playlist id).
data-player-id
The Springboard player ID.
data-domain
The Springboard partner domain.
data-items
The number of videos in playlist
See amp-springboard-player rules in the AMP validator specification.