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> |
Examples | reach-player.amp.html |
The following lists validation errors specific to the amp-reach-player
tag
Validation Error | Description |
---|---|
The mandatory attribute 'data-embed-id' is missing in tag 'amp-reach-player'. | Error thrown when data-embed-id attribute is missing. |
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.