<audio> in Safari 4 Win?

When I view this web page in my Windows 7 Safari 4.0.5…

<!DOCTYPE html>
<meta charset="utf-8" />
<title>Audio Test</title>
<audio src="FurElise.ogg" controls="controls">nothin</audio>

…I get a white page that says ‘nothin’. It works in Firefox 3.6 and Opera 10.53, but not Safari. And yet, everywhere I look, people talk about Safari supporting the audio tag. Is this only on Macs, or am I doing something wrong?

(live example)

Ogg isn’t supported in safari. Only MP3 and Wav are.


Oi. I feel kind of silly. Thank you.

If you get “nothin” then you probably don’t have QuickTime installed. QuickTime is required to make <audio> work in Safari.

You can get Ogg to work in Safari by installing XiphQT. http://xiph.org/quicktime/

I think the idea is to be able to get audio files to work natively without the user needing to install extra software.