我被迫在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中停止缓冲并坚持下去。
非常感谢任何帮助。