Description 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.