Important: this documentation is not applicable to your currently selected format stories!
amp-hulu
Description
Displays an embedded Hulu video.
Required Scripts
<script async custom-element="amp-hulu" src="https://cdn.ampproject.org/v0/amp-hulu-0.1.js"></script>
Supported Layouts
Usage
Displays an embedded Hulu video.
<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.
Você já leu este documento várias vezes, mas ainda ficou com dúvidas sem respostas? Talvez outras pessoas pensem da mesma forma. Procure entrar em contato com elas no Stack Overflow.
Ir para o Stack Overflow Encontrou um bug ou sente falta de um recurso?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.
Ir para o GitHub