[英]Internet Explorer HTML5 video starts only after some time
I'm facing the problem that a video does not start to play, which I added to an HTML5 page: 我遇到了视频无法开始播放的问题,我将其添加到HTML5页面中:
<video id="videobcg" preload="auto" autoplay="true" loop="loop"
muted="muted" volume="0" poster="http://test.com/poster.jpg">
<source src="http://test.com/texas.mp4" type="video/mp4">
<source src="http://test.com/texas.webm" type="video/webm">
<img src="http://test.com/texas.jpg" />
</video>
How to fix it? 如何解决?
Sometimes, with MP4 files, the information regarding the length etc. of the file is at the end rather than the start of the file, so some browsers need to download the entire thing to get this information in order to play the file. 有时,对于MP4文件,有关文件长度等的信息位于文件的结尾而不是文件的开头,因此某些浏览器需要下载整个文件才能获取此信息,以便播放文件。
Try running QTIndexSwapper 2 on the file which will move the required information to the start of the file, if it needs to be. 尝试在文件上运行QTIndexSwapper 2 ,如果需要,它将把所需的信息移到文件的开头。
It's worth a try. 值得一试。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.