HI

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>

उदाहरण

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.

और अधिक मदद की आवश्यकता है?

आपने इस दस्तावेज़ को एक दर्जन बार पढ़ा है लेकिन वास्तव में इसमें आपके सभी प्रश्न शामिल नहीं हैं? शायद अन्य लोगों को भी ऐसा ही लगा हो: स्टैक ओवरफ्लो पर उनसे संपर्क करें।

स्टैक ओवरफ़्लो पर जाएँ
कोई बग मिला या कोई सुविधा गायब है?

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.

गिटहब पर जाएं