4
votes

How can I play .ogg audio files in safari without converting it to mp3? I use mediaelements.js library to flash fallback and it works fine in chrome and firefox and plays both mp3 and ogg files, but in safari it plays only mp3. Looks like flash fallback of this library can't play audio/ogg.

2
Can confirm that OS X 10.8.2, Safari 6.0.2 with the Xiph Component plugin installed does not play any ogg-files (neither video nor audio). xiph.org/quicktime/download.htmlDelete_Account_Please

2 Answers

7
votes

Codec support in modern desktop browsers

Browser                      Ogg Vorbis     MP3     WAV

Firefox 3.6+                    ✓                   ✓

Safari 5+                                   ✓       ✓

Chrome 6                        ✓           ✓   

Opera 10.5+                     ✓                   ✓

Internet Explorer 9+                        ✓       ✓
0
votes

AFAIK, Safari straight up doesn't do OGG. Unless you install a plugin, they say.