amp-reach-player
Displays the Reach Player configured in the Beachfront Reach platform.
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 |
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.
You've read this document a dozen times but it doesn't really cover all of your questions? Maybe other people felt the same: reach out to them on Stack Overflow.
Go to Stack Overflow Found a bug or missing a feature?The AMP project strongly encourages your participation and contributions! We hope you'll become an ongoing participant in our open source community but we also welcome one-off contributions for the issues you're particularly passionate about.
Go to GitHub