amp-reach-player

Edit on Github
Open in Playground

Introduction

Embed videos hosted on Beachfront Reach in your AMP HTML files.

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.

Example

<amp-reach-player data-embed-id="default"
  layout="responsive"
  width="560"
  height="315"></amp-reach-player>