AMP

amp-reach-player

Description

Displays a Beachfront Reach video player.

 

Required Scripts

<script async custom-element="amp-reach-player" src="https://cdn.ampproject.org/v0/amp-reach-player-0.1.js"></script>

Displays the Reach Player configured in the Beachfront Reach platform.

Example

The width and height attributes determine the aspect ratio of the player embedded in responsive layouts.

Example:

<amp-reach-player
  data-embed-id="default"
  layout="responsive"
  width="560"
  height="315"
>
</amp-reach-player>

Attributes

data-embed-id The Reach player embed id found in the "players" section or in the generated embed itself.
common attributes This element includes common attributes extended to AMP components.

Validation

See amp-reach-player rules in the AMP validator specification.

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

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

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

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

Перейти на GitHub