有没有办法在没有插件的情况下在网页中保持两个视频同步? [英] Is there a way to keep two videos synchronized in a webpage without plugins?
问题描述
有没有办法在页面上使用两个HTML5视频标签并保持视频同步?这意味着,如果第一个视频是15.2秒,那么第二个视频是15.2秒?
Is there a way to use two HTML5 video tags on a page and keep the videos synchronized? Meaning that if the first video is at 15.2 seconds then the second video is at 15.2 seconds?
我环顾四周找到了SMIL,但它看起来只适用于IE浏览器。我还尝试使用jQuery和jMediaElement实现自己的功能,但似乎很多情况下视频可能会不同步。
I've looked around and found SMIL but it looks like that only works in IE. I also tried to implement something of my own with jQuery and jMediaElement but there appears to be a lot of cases where the videos can get out of sync.
这是否已完成之前?
推荐答案
找到它。它出现在 http://html5demos.com 上。
查看这个演示 ..在我的Chrome上运行完美(差不多好)。
Checkout this demo.. works perfectly (well almost) on Chrome for me.
该页面提供了该来源。
这篇关于有没有办法在没有插件的情况下在网页中保持两个视频同步?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!