A/V Formats

The tables on this test page enumerate support for various A/V formats across the browsers. All videos are 270p. For H264, Baseline profile is used. For AAC, LC profile is used.

BrowserVideo formatsAudio formats
Firefox 7WebMVorbis
Chrome 15MP4, WebMAAC, MP3, Vorbis
Safari 5.1MP4 3AAC, MP3 2
Internet Explorer 9MP4AAC, MP3
Opera 11.5WebMVorbis
iOS 4 (iPod Touch 4)MP4AAC, MP3
iOS 5 (iPad 1)MP4AAC, MP3
Android 2.2 (HTC Legend) 1MP4AAC
Android 2.3 (HTC Desire)MP4AAC, MP3
Android 4.0 (Galaxy S2)MP4, WebM, FLVAAC, MP3, Vorbis 3
WinPho 7.5 (HTC Radar)MP4AAC, MP3
  1. Does not report anything on canPlayType()
  2. canPlayType() not reporting on Vorbis, but videos are playing
  3. Not working on Windows in QuickTime isn't installed.

Test Matrix

Here's a matrix with video and audio tags, each including a single source:

MP4 Video AAC Audio
canPlayType (video/mp4): canPlayType (audio/mp4):
WebM Video Vorbis Audio
canPlayType (video/webm): canPlayType (audio/ogg):
FLV Video MP3 Audio
canPlayType (video/flv): canPlayType (audio/mpeg):

The canPlayType results are queried like this:

return document.createElement('video').canPlayType('video/webm');