AMP
Something went wrong while trying to load more search results.
We apologize for the inconvenience caused.
Please try again later.

;(

Something went wrong…

…while trying to load the search results.
We apologize for the inconvenience caused.
Please try again later.

amp-wistia-player

Displays a Wistia video.

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

Example

<amp-wistia-player
    data-media-hashed-id="u8p9wq6mq8"
    width="512" height="360"></amp-wistia-player>

Attributes

data-media-hashed-id (required) The Wistia media id is found in every Wistia media page URL. If the media page URL is https://support.wistia.com/medias/u8p9wq6mq8, the data-media-hashed-id is u8p9wq6mq8.
common attributes This element includes common attributes extended to AMP components.

Validation

See amp-wistia-player rules in the AMP validator specification.

需要更多帮助?

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