Description | Displays the Reach Player configured in the Beachfront Reach platform. |
Availability | Stable |
Required Script | <script async custom-element="amp-reach-player" src="https://cdn.ampproject.org/v0/amp-reach-player-0.1.js"></script> |
Supported Layouts | fill, fixed, fixed-height, flex-item, responsive |
Examples | Annotated code example for amp-reach-player |
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>
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.
See amp-reach-player rules in the AMP validator specification.