重要提示:此文档不适用于您当前选择的格式 广告!
amp-wistia-player
描述
显示 Wistia 视频。
必需的脚本
<script async custom-element="amp-wistia-player" src="https://cdn.ampproject.org/v0/amp-wistia-player-0.1.js"></script>
示例
<amp-wistia-player data-media-hashed-id="u8p9wq6mq8" width="512" height="360" ></amp-wistia-player>
属性
data-media-hashed-id (必需) | Wistia 媒体 ID 在每个 Wistia 媒体页面 URL 中找到。如果媒体页面 URL 为 https://support.wistia.com/medias/u8p9wq6mq8,则 data-media-hashed-id 为 u8p9wq6mq8 。 |
通用属性 | 此元素包括扩展到 AMP 组件的通用属性。 |
验证
请参阅 AMP 验证器规范中的 amp-wistia-player 规则。
需要更多帮助?
您已经阅读过本文档多次,但它并没有真正涵盖您所有的问题?也许其他人也有同感:在 Stack Overflow 上与他们联系。
转到 Stack Overflow 发现错误或缺少功能?AMP 项目强烈鼓励您的参与和贡献!我们希望您能成为我们开源社区的持续参与者,但我们也欢迎您为特别关注的问题做出一次性贡献。
转到 GitHub