html5-video - VIDEO 标签内的 IMG 标签

标签 html5-video semantic-markup

如果您查看 facebook.com/paper,您会发现几个 <video><img/></video> .

我想知道这是否是语义/SEO 友好的后备 video标签或者它只是对旧浏览器的黑客攻击。 poster属性对于现代浏览器来说还不够吗?这是移动设备黑客攻击吗?

最佳答案

除了 track/source元素,内容为video适用于不支持 video 的用户代理.

From HTML5 (CR) :

Content may be provided inside the video element. User agents should not show this content to the user; it is intended for older Web browsers which do not support video, so that legacy video plugins can be tried, or to show text to the users of these older browsers informing them of how to access the video contents.

因此支持用户代理(即现代浏览器)应该忽略这一点。

关于html5-video - VIDEO 标签内的 IMG 标签,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/22771440/

相关文章:

javascript - 引导模式关闭时视频仍在播放

android - Android HTML5 的视频编码

javascript - 跟踪 html5 视频控制区域中播放按钮的点击次数

javascript - HTML5 视频无法在 Chrome 中加载,但在打开开发者控制台时可以工作

html - 我可以使用 <nav> 标签进行分页吗?

css - Microformats vCard 仍然是在 HTML 5 中编码 "contact information"的最佳语义方式吗?

asp.net - html中的视频标签

html - 在 <p> 或标题中时,我们应该在 <br> 标签周围使用空格吗?

css - 并排 div,等高,IE7+

html - 停止文字换行