admin管理员组文章数量:1304888
I was reading html5 video tutorial which suggested to use some player for html5 <video>
tag such as JW player, Projektor, videojs, etc.
I know even if I don't use a player such as these, a player is drawn (in supported browsers) when using <video>
tag.
So what exactly is difference between or pros and cons of third party player (for example videojs player) over native html5 player ?
I was reading html5 video tutorial which suggested to use some player for html5 <video>
tag such as JW player, Projektor, videojs, etc.
I know even if I don't use a player such as these, a player is drawn (in supported browsers) when using <video>
tag.
So what exactly is difference between or pros and cons of third party player (for example videojs player) over native html5 player ?
Share Improve this question edited Jan 18, 2012 at 8:12 Sarfraz asked Jan 18, 2012 at 6:25 SarfrazSarfraz 383k82 gold badges559 silver badges612 bronze badges3 Answers
Reset to default 4The promise of HTML5 video at least to me, is avoiding all this horrible Flash setup and Javascript, and making the browser do all the heavy lifting.
Unfortunately using something simple like:
<video controls src="http://static.natalian/2012-01-18/MVI_0123.ogg" />
Is not enough. You are missing features like hooking into the fullscreen API which is different across browsers and hence you probably need to rely on these 3rd party libraries to take away the pain.
One obvious one is that you'll have more control over how it looks--you'll be able to have it match your site's design.
Also, it makes sure your site looks consistent in different browsers.
The only reason I could think of is UI consistency across browsers. Every browser implements their video player differently so something like JW Player makes it look and feel the same.
本文标签: javascriptDifference between native html5 video player and any otherStack Overflow
版权声明:本文标题:javascript - Difference between native html5 video player and any other - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1741796895a2397988.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论