Important: this documentation is not applicable to your currently selected format ads!
amp-springboard-player
Description
Displays a Springboard Platform video player.
Required Scripts
<script async custom-element="amp-springboard-player" src="https://cdn.ampproject.org/v0/amp-springboard-player-0.1.js"></script>
Supported Layouts
Example
The width
and height
attributes determine the aspect ratio of the player embedded in responsive layouts.
<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>
Attributes
data-site-id (required) | The SpringBoard site ID. Specific to every partner. |
data-mode (required) | The SpringBoard player mode: video or playlist . |
data-content-id (required) | The SpringBoard player content ID (video or playlist ID). |
data-player-id (required) | The Springboard player ID. |
data-domain (required) | The Springboard partner domain. |
data-items (required) | The number of videos in the playlist. |
common attributes | This element includes common attributes extended to AMP components. |
Validation
See amp-springboard-player rules in the AMP validator specification.
需要更多帮助?
您已多次阅读本文档,但它仍未能涵盖您的所有问题?也许其他人也这么觉得:在 Stack Overflow 上与他们联系。
前往 Stack Overflow 发现错误或缺少功能?AMP 项目强烈鼓励您参与并做出贡献!我们希望您能成为我们开放源代码社区的持续参与者,但我们也欢迎您对所热衷问题做出一次性贡献。
前往 GitHub