Support for video and audio file formats varies across browsers.
These video formats are:
- Theora (.ogg, .ogv) – The free and open source container format from the Xiph.org foundation, for the open source Theora codec. Results in lower quality than H.264 and uses the application/ogg MIME type and the video/ogg video attribute type
- MP4/ H.268 (.m4v) – The compressed container format for the H.264 codec, with high definition support and uses video/mpeg MIME type and the video/mp4 video attribute type
- WebM (.webm) – Open source container format supported by Mozilla, Opera, Adobe, and Google., compressed by VP8 codec and uses the video/webm MIME type and the video/webm video attribute type
A standard video format has not yet emerged. Thus, it is important to know what video formats the various web browsers handle in order that as many users as possible can see your content.
Here is a chart of what browsers support what file formats: