amp-reach-player
Introduction
Use the amp-reach-player
component to embed videos hosted on Beachfront Reach in your AMP HTML pages.
Setup
Import the amp-reach-player
component in the header.
<script async custom-element="amp-reach-player" src="https://cdn.ampproject.org/v0/amp-reach-player-0.1.js"></script>
Basic usage
Embed videos hosted on Beachfront Reach via the data-embed-id
attribute. We recommend using the responsive layout for videos.
<amp-reach-player data-embed-id="default" layout="responsive" width="560" height="315">
</amp-reach-player>
If the explanations on this page don't cover all of your questions feel free to reach out to other AMP users to discuss your exact use case.
Go to Stack Overflow An unexplained 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.
Edit sample on GitHub-
Written by @jmadler