amp-vimeo

Edit on Github
Open in Playground

Introduction

Embed Vimeo videos in your AMP HTML files.

Setup

Import the amp-vimeo component in the header.

<script async custom-element="amp-vimeo" src="https://cdn.ampproject.org/v0/amp-vimeo-0.1.js"></script>

Basic Usage

Embed Vimeo videos via the videoid in a video's URL. We recommend using the responsive layout for videos.

Example

<amp-vimeo data-videoid="27246366"
  layout="responsive"
  width="16"
  height="9"></amp-vimeo>