Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

VideoJS: Where is current information on supported video formats and their browser and platform compatibility?

Tags:

video.js

Since the site reorg, I'm unable to find current information on supported video formats and their browser and platform compatibility. There's no search I can find on the videojs.com site, support links to SO, docs to the github readme, and far as I can see, none of those have this basic info. I'm probably just being thick, since that's such fundamental info, but please tell me, where is that info?

like image 344
enigment Avatar asked Jun 01 '13 12:06

enigment


People also ask

What video formats do browsers support?

Internet Explorer 9+, Chrome 6+ and Safari 5+ can play MP4's (type="video/mp4") Chrome 6+, Firefox 3.6+ and Opera 10.6+ can play WebM's (type="video/webm") Chrome 6+, Firefox 3.6+ and Opera 10.6+ can play OGG's (type="video/ogg")

What is Videojs?

Video. js is a web video player built from the ground up for an HTML5 world. It supports HTML5 video and modern streaming formats, as well as YouTube, Vimeo, and even Flash (through plugins, more on that later). It supports video playback on desktop and mobile devices.

What video formats does HTML5 support?

The HTML5 video format capabilities include three options to play: MP4, WebM, and Ogg.


2 Answers

They themselves don't support video formats, with HTML5 video the browser does all the work and when it falls back to flash player, then it's any format that flash supports.

For the HTML5 Support see here:

For Flash Support see here:

like image 102
Jharwood Avatar answered Oct 06 '22 23:10

Jharwood


As another answer mentioned, the VideoJs library itself is format-agnostic. However there is a blogpost a year or so ago by Brightcove that spells out best practice for picking video formats with videojs (and by extension html video in general).

The post gives a breakdown of browser support. By far your best starting point is to use MP4 with H.264 baseline video encoding and AAC audio. To increase browser support you then might consider throwing in WebM, OGG and/or 3GP formats as fallbacks.

The full post is here: http://blog.zencoder.com/2013/09/13/what-formats-do-i-need-for-html5-video/

like image 21
tbernard Avatar answered Oct 06 '22 22:10

tbernard