有没有一种很好的方法来缓存Chrome中的媒体元素js player的大型视频文件?

时间:2013-04-26 20:55:36

标签: html5 google-chrome preload buffering

我被迫在html 5视频播放器中使用相当大的视频,我无法看到在Mac和PC上使用Chrome浏览器时可以使用缓冲功能。

播放器在Firefox和Safari中缓冲得很好,不确定IE是否在Mac上。

我在视频标签中使用以下代码:

video mp4="http://xeroproject.com/sqwm/wp-content/uploads/2013/04/benefits.mp4" ogg="http://xeroproject.com/sqwm/wp-content/uploads/2013/04/benefits.ogg" webm="http://xeroproject.com/sqwm/wp-content/uploads/2013/04/benefits.webm" poster="http://xeroproject.com/sqwm/wp-content/uploads/2013/04/slide.jpg" preload="none" width="820" height="462" captions="http://xeroproject.com/sqwm/wp-content/uploads/2013/04/intro.srt

可以查看视频播放器here

我已经准备好Chrome的初始预载量仅为2mb左右,而FF和Safari则大约为10mb,这可以解释缓慢的缓冲区,但是视频达到了一定程度,然后只是在Chrome中停止缓冲并坚持下去。

非常感谢任何帮助。

0 个答案:

没有答案