amp-vimeo to embed Vimeo videos in your AMP HTML files.
amp-vimeo component in the header.
<script async custom-element="amp-vimeo" src="https://cdn.ampproject.org/v0/amp-vimeo-0.1.js"></script>
Embed Vimeo videos via the
videoid in a video's URL. We recommend using the responsive layout for videos.
<amp-vimeo data-videoid="27246366" layout="responsive" width="16" height="9"></amp-vimeo>
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 @sebastianbenz