HTML and CSS Reference
In-Depth Information
you need to pay to license those patents. Mozilla, the makers of
Firefox, takes the position that the web should be built out of free and
open standards and so doesn't support MP3 ; instead, Firefox supports
the open Ogg Vorbis (OGG) format. Opera agrees. Google also agrees
in principal but for practical reasons distributes Chrome with MP3
support; Google has also released its own video format, WebM (which
will be discussed further in the video section), which can also be used
in audio-only mode. Apple and Microsoft both already have licenses to
distribute MP3 codecs, so Safari and IE do support it; but, crucially,
they don't support the free and open OGG format out of the box.
The different format support is summarized in the next table. The short
version is this: no one file format works on all browsers. You'll need
multiple files to support them all.
OGG
MP3
AAC
WebM
WAV
8
5
5
5
8
3.5
3.5
~
~
4
~
~
9
9
*
10.5
10.5
~
~
11.1
4
**
4
4
**
* IE9 will support WebM if the user downloads an additional
codec.
** Safari will support anything that can be played by Quick-
Time. Users have to download additional codecs.
To encode a file to OGG , you can use the oggenc command-line utility
available from www.rarewares.org . Use it to convert an uncompressed
WAV file like this:
oggenc myaudio.wav
 
Search WWH ::




Custom Search