HTML5 – Video and Audio File formats and browser support

HTML5-logoBy now we have learned about HTML5 Video and Audio elements. As we discussed in our earlier articles, different browsers support different formats for audio and video files.

I’ve listed down below 3 supported video formats that are supported by particular browsers.

 

Browser

MP4

WebM

Ogg

Internet Explorer 9 YES NO NO
Firefox 4.0 NO YES YES
Google Chrome 6 YES YES YES
Apple Safari 5 YES NO NO
Opera 10.6 NO YES YES
  • WebM = WebM files with VP8 video codec and Vorbis audio codec
  • Ogg = Ogg files with Theora video codec and Vorbis audio codec
  • MP4 = MPEG 4 files with H264 video codec and AAC audio code

Hope this was helpful. We’re always looking for feedback. If you have any comments or feedback, please provide us your comment below.