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.
आपने इस दस्तावेज़ को एक दर्जन बार पढ़ा है लेकिन वास्तव में इसमें आपके सभी प्रश्न शामिल नहीं हैं? शायद अन्य लोगों को भी ऐसा ही लगा हो: स्टैक ओवरफ्लो पर उनसे संपर्क करें।
स्टैक ओवरफ़्लो पर जाएँ कोई बग मिला या कोई सुविधा गायब है?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.
गिटहब पर जाएं