Description |
An amp-reach-player component displays the Reach Player configured in the Beachfront Reach platform.
|
Availability | Beta |
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>
data-embed-id
The Reach player embed id found in the "players" section or in the generated embed itself.
See amp-reach-player rules in the AMP validator specification.