Do you build things with AMP? Fill out the AMP Developer Survey!
AMP

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

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.

Perlu bantuan lainnya?

Anda telah membaca dokumen ini belasan kali, tetapi belum semua pertanyaan Anda terjawab? Mungkin orang lain merasakan hal yang sama. Berinteraksilah dengan mereka di Stack Overflow.

Kunjungi Stack Overflow
Menemukan bug atau ada fitur yang kurang?

Proyek AMP sangat menganjurkan partisipasi dan kontribusi Anda! Kami berharap Anda akan terus ambil bagian dalam komunitas sumber terbuka kami, tetapi kami juga menerima kontribusi satu kali untuk topik tertentu yang Anda minati.

Kunjungi GitHub