AMP

amp-apester-media

Displays a Apester smart unit.

Required Script <script async custom-element="amp-apester-media" src="https://cdn.ampproject.org/v0/amp-apester-media-0.1.js"></script>
Supported Layouts fill, fixed, fixed-height, flex-item, nodisplay, responsive

Examples

Single Mode:

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

Playlist Mode:

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

Attributes

data-apester-media-id This attribute is required for single mode, and it represents the ID of the media (string value).
data-apester-channel-token This attribute is required for playlist mode, and it represents the token of the channel (string value).

Validation

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