开发者

Firefox HTML5 video playback inconsistancy

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开发者_如何学JAVA 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>


take out the closing tag from your source tag, it should work then

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜