AMP Conf 2019. April 17/18. Tokyo.
AMP

amp-hulu

Displays a simple embedded Hulu video.

Required Script<script async custom-element="amp-hulu" src="https://cdn.ampproject.org/v0/amp-hulu-0.1.js"></script>
Supported Layoutsfill, fixed, fixed-height, flex-item, responsive
ExamplesAnnotated code example for amp-hulu

Example

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

Attributes

data-eidThe 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 attributesThis element includes common attributes extended to AMP components.

Validation

See amp-hulu rules in the AMP validator specification.

Perlu bantuan lainnya?

You've read this document a dozen times but it doesn't really cover all of your questions? Maybe other people felt the same: reach out to them on Stack Overflow.

Go to Stack Overflow
Found a bug or missing a feature?

The AMP project strongly encourages your participation and contributions! We hope you'll become an ongoing participant in our open source community but we also welcome one-off contributions for the issues you're particularly passionate about.

Go to GitHub