Firefox HTML5 视频播放不一致
嘿大家, 我的页面上有一个 HTML5 视频。在本地测试时,Chrome、Safari 和 Opera 运行良好。 Firefox 可以播放它,但循环效率不如其他浏览器。真正的问题是在服务器上进行测试时。 Firefox 不播放该视频,但识别出那里有一个视频。我想知道所有开放式三种不同方式的语法是否都能对 Firefox 有利。
谢谢!
HTML:
<video id="vid_home" width="780" height="520" autoplay="autoplay" loop="loop">
<source src="Video/fernando.ogv" type="video/ogg" />
<source src="Video/fernando.m4v" type="video/mp4" />
Your browser does not support this videos playback.
</video>
Hey all,
I've got an HTML5 video on a page. When tested locally, Chrome, Safari, and Opera work beautifully. Firefox plays it, but doesn't loop as efficiently as the others. The real problem is when it's tested off a server. Firefox doesn't play the video, but recognizes there is one there. I was wondering if all that open ended three-different-ways syntax can be swung in Firefox's favor.
Thanks!
HTML:
<video id="vid_home" width="780" height="520" autoplay="autoplay" loop="loop">
<source src="Video/fernando.ogv" type="video/ogg" />
<source src="Video/fernando.m4v" type="video/mp4" />
Your browser does not support this videos playback.
</video>
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
从源标签中取出结束标签,它应该可以工作
take out the closing tag from your source tag, it should work then