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>
Supported Layouts
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.
Vous avez lu ce document une douzaine de fois mais il ne répond pas à toutes vos questions ? D'autres personnes ont peut-être eu le même sentiment. Contactez-les sur Stack Overflow.
Se rendre sur Stack Overflow Vous avez trouvé un bug ou une fonctionnalité manquante ?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.
Se rendre sur GitHub