amp-hulu component to embed Hulu videos into AMP files.
amp-hulu component in the header.
<script async custom-element="amp-hulu" src="https://cdn.ampproject.org/v0/amp-hulu-0.1.js"></script>
Embed Hulu videos via the
eid in a video's URL. We recommend using the responsive layout for videos.
This sample only works on mobile browsers due to restrictions from Hulu and the component can only be used by Hulu partners.
<amp-hulu width="412" height="213" layout="responsive" data-eid="4Dk5F2PYTtrgciuvloH3UA"> </amp-hulu>
If the explanations on this page don't cover all of your questions feel free to reach out to other AMP users to discuss your exact use case.Go to Stack OverflowAn unexplained 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.Edit sample on GitHub
Written by @unbug