Ogg audio in safari

2019-04-11 02:39发布

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条回答
啃猪蹄的小仙女
2楼-- · 2019-04-11 03:07

Codec support in modern desktop browsers

Browser                      Ogg Vorbis     MP3     WAV

Firefox 3.6+                    ✓                   ✓

Safari 5+                                   ✓       ✓

Chrome 6                        ✓           ✓   

Opera 10.5+                     ✓                   ✓

Internet Explorer 9+                        ✓       ✓
查看更多
劳资没心,怎么记你
3楼-- · 2019-04-11 03:09

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

查看更多
登录 后发表回答