Description Displays a simple embedded Hulu video.
Availability Stable
Required Script <script async custom-element="amp-hulu" src="https://cdn.ampproject.org/v0/amp-hulu-0.1.js"></script>
Supported Layouts fill, fixed, fixed-height, flex-item, responsive
Examples Annotated code example for amp-hulu

Example

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

Attributes

data-eid

The ID of the video. For example, 4Dk5F2PYTtrgciuvloH3UA is the eid in the following URL: https://player.hulu.com/site/dash/mobile_embed.html?eid=4Dk5F2PYTtrgciuvloH3UA.

common attributes

This element includes common attributes extended to AMP components.

Validation

See amp-hulu rules in the AMP validator specification.