HI

amp-apester-media

Description

Displays an Apester smart unit.

Required Scripts

<script async custom-element="amp-apester-media" src="https://cdn.ampproject.org/v0/amp-apester-media-0.1.js"></script>

Usage

Displays an Apester smart unit.

Attributes

data-apester-media-id

This attribute is required for single mode, and it represents the ID of the media (string value).

<amp-apester-media height="390" data-apester-media-id="#"></amp-apester-media>

data-apester-channel-token

This attribute is required for playlist mode, and it represents the token of the channel (string value).

<amp-apester-media
  height="390"
  data-apester-channel-token="#"
></amp-apester-media>

Accessibility

amp-apester-media automatically adds the aria-label attribute. This ARIA attribute is applied to the Apester Media loading image.

Validation

See amp-apester-media 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.

गिटहब पर जाएं