amp-hulu

Edit on Github
Open in Playground

Introduction

Use the amp-hulu component to embed Hulu videos into AMP files.

Setup

Import the amp-hulu component in the header.

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

Basic Usage

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

Example

<amp-hulu width="412"
  height="213"
  layout="responsive"
  data-eid="4Dk5F2PYTtrgciuvloH3UA">
</amp-hulu>