amp-izlesene
Description
Displays an Izlesene video.
Required Scripts
<script async custom-element="amp-izlesene" src="https://cdn.ampproject.org/v0/amp-izlesene-0.1.js"></script>
Supported Layouts
Example
With responsive layout the width and height from the example should yield correct layouts for 16:9 aspect ratio videos:
<amp-izlesene data-videoid="7221390" layout="responsive" width="480" height="270" ></amp-izlesene>
Attributes
data-videoid (required) | The ID of the Izlesene video, which can be found in the Izlesene video page URL. For example, in https://www.izlesene.com/video/yayin-yok/7221390, the video ID is 7221390 . |
data-param-showrel (optional) | This is an optional attribute that indicates whether to show related content. This functionality is not available for iOS devices.
|
data-param-showreplay (optional) | This is an optional attribute that indicates whether to show the replay button at the end of the content.
|
common attributes | This element includes common attributes extended to AMP components. |
Validation
See amp-izlesene rules in the AMP validator specification.
Vous avez lu ce document une douzaine de fois mais il ne répond pas à toutes vos questions ? D'autres personnes ont peut-être eu le même sentiment. Contactez-les sur Stack Overflow.
Se rendre sur Stack Overflow Vous avez trouvé un bug ou une fonctionnalité manquante ?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.
Se rendre sur GitHub