Which browsers support the html 5 <audio>
tag on Windows today?
Edit: Trying http://moztw.org/demo/audioplayer/ as a test. Chrome 2, and Safari 4 not working for me.
Which browsers support the html 5 <audio>
tag on Windows today?
Edit: Trying http://moztw.org/demo/audioplayer/ as a test. Chrome 2, and Safari 4 not working for me.
Here is a wikipedia article comparing each browser's HTML5 support: http://en.wikipedia.org/wiki/Comparison_of_layout_engines_(HTML_5)
Gecko, Webkit and Presto engines are suppose to support it, but I think only partly. So Firefox 3.5 and Opera are your best bet.
The page (moztw.org/demo/audioplayer) works OK in Chrome 3 (dev channel)
Safari 3.1+ and Firefox 3.5 both support the audio element. Opera 10 does not support the audio element though it does support an older version of it in the form of an Audio object. Chrome 3 will likely support the audio element.
(Just saw you wanted to know support for that specific page. That mostly depends on the codecs you are using I'm afraid.)
(Disclaimer: I work for Opera and am a member of the HTML WG.)
if this evaluates to true:
!!document.createElement('audio').canPlayType
, then you have audio tag support in your browser. Doing a feature detect like this is a lot better than parsing userAgent strings.
Alternatively, you can use something like Modernizr to handle this detect and many others for you.
For Safari to support audio on Windows, Quicktime needs to be installed. The javascript snippet reports correctly if it's supported or not.
All of these browsers support the functionality of the tag. The reason your player does not work on Safari is because you are using OGG files. OGG is supported on Firefox and Chrome.
Firefox supports only WAV and OGG.
Chrome supports everything.
Opera supports only WAV.
Safari supports everything but OGG.
Good luck!