AMP

Important: this documentation is not applicable to your currently selected format stories!

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>

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.

  • Accepted values: `1` or `0`
  • Default value: `1`
data-param-showreplay (optional) This is an optional attribute that indicates whether to show the replay button at the end of the content.

  • Accepted values: `1` or `0`
  • Default value: `1`
common attributes This element includes common attributes extended to AMP components.

Validation

See amp-izlesene rules in the AMP validator specification.

Требуется дополнительная помощь?

Вы читали этот документ десятки раз, но так и не нашли ответов на все свои вопросы? Возможно, другие люди столкнулись с такой же проблемой — обратитесь к ним на Stack Overflow.

Перейти на Stack Overflow
Нашли ошибку или недостающую функцию?

Проект AMP активно поощряет ваше участие и сотрудничество! Мы надеемся, что вы станете постоянным участником нашего открытого сообщества, но разовые вклады в работу над задачами, которые вам особенно интересны, также приветствуются.

Перейти на GitHub