"How to enable and tags in all major browsers
To make HTML5 video and audio tags work in all major browsers, simply add the following line of code somewhere in the of your document.
"
The solution for now is to produce your videos in multiple formats.
Table 1. Browser support by video format
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
Note: For the latest compatibility information, always check the CanIUse website.
A more robust way to create the fallback is to use a JavaScript utility like Modernizr to evaluate the browser's capabilities and then dynamically write the video and source tags or embed the Flash video player using SWFObject.
Tip 3: The source tag should always include the "type" attribute with the correct MIME type value. You may need to add an .htaccess file to your server to define the MIME types as well. Check out the Video for everybody article for more tips on MIME types.
Tip 2: The video tag includes a range of parameters that you can use to configure the video. See the Mozilla article Using HTML5 audio and video for more information.
Tip 1: The Adobe Media Encoder does not currently export video to Ogg or WebM format. You can use the Firefogg add-on for Firefox to encode video to Ogg Theora format, or you can use Miro Video Converter to encode video to WebM or Ogg Theora format.
a bit less data to produce the same quality, or will sound a bit better at the same bitrate
MP3 was also covered by a bunch of patents, so you had to license it for a fair bit of money; those patents have finally expired now. Ogg and Vorbis have always been free (and the reference implementation available under an LGPL and later BSD license).