amp-brid-player

Edit on Github
Open in Playground

Introduction

Embed Brid Player videos in your AMP HTML files.

Setup

Import the amp-brid-player component in the header.

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

Basic Usage

Embed Brid Player videos via the data-video attribute...

Example

<amp-brid-player data-partner="264"
  data-player="4144"
  data-video="13663"
  layout="responsive"
  width="480"
  height="270">
</amp-brid-player>

...or via the data-playlist attribute. For a complete list of the attributes, refer to the official documentation.

Example

<amp-brid-player data-partner="965"
  data-player="724"
  data-playlist="1220"
  layout="responsive"
  width="480"
  height="270">
</amp-brid-player>