amp-slikeplayer
Description
Displays a cloud-hosted Slike Player.
Required Scripts
<script async custom-element="amp-slikeplayer" src="https://cdn.ampproject.org/v0/amp-slikeplayer-0.1.js"></script>
Supported Layouts
Example
The width
and height
attributes determine the aspect ratio of the player embedded in responsive layouts.
Example:
<amp-slikeplayer required-attribute> data-apikey="33502051" data-videoid="1281471" layout="responsive" height: 180 width: 320 > </amp-slikeplayer>
Attributes
data-apikey | The Slike apikey id. This attribute is mandatory. |
data-videoid | The Slike video content id - videoid. This attribute is mandatory |
data-config | It is the player configuration passed as string and enentually capturen as query parameter. Few examples autoplay=true, skipad=true etc |
data-iframe-src | The iframe source can be overriden by users own source. The default template is binded the component |
common attributes | This element includes common attributes extended to AMP components. |
Validation
See amp-slikeplayer 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.
गिटहब पर जाएं