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> |
Examples | springboard-player.amp.html |
The following lists validation errors specific to the amp-springboard-player
tag
(see also amp-springboard-player
in the AMP validator specification):
Validation Error | Description |
---|---|
The 'example1' tag is missing or incorrect, but required by 'example2'. | Error thrown when required amp-springboard-player extension .js script tag is missing or incorrect. |
The mandatory attribute 'example1' is missing in tag 'example2'. | Error thrown when data-site-id attribute is missing. |
The mandatory attribute 'example1' is missing in tag 'example2'. | Error thrown when data-mode attribute is missing. |
The mandatory attribute 'example1' is missing in tag 'example2'. | Error thrown when data-content-id attribute is missing. |
The mandatory attribute 'example1' is missing in tag 'example2'. | Error thrown when data-player-id attribute is missing. |
The mandatory attribute 'example1' is missing in tag 'example2'. | Error thrown when data-domain attribute is missing. |
The mandatory attribute 'example1' is missing in tag 'example2'. | Error thrown when data-items attribute is missing. |
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