小编Mar*_*agi的帖子

amp-video-iframe 海报与占位符

根据amp-video-iframe文档,该poster属性是必需的:https : //amp.dev/documentation/components/amp-video-iframe/?format=websites

但在官方示例页面:https : //github.com/ampproject/amphtml/blob/master/examples/amp-video-iframe.html Google 开发人员使用 aplaceholder代替。检查标签验证源代码,似乎两个用例都是有效的:https : //github.com/ampproject/amphtml/blob/master/extensions/amp-video-iframe/validator-amp-video-iframe.protoascii# L92

有谁知道占位符用例是允许的还是应该避免的?我找不到有关文档的其他信息

amp-html

5
推荐指数
1
解决办法
182
查看次数

标签 统计

amp-html ×1