This page requires Javascript
This example page uses the Audio object to play files in a XSPF playlist.
The audio object only supports .wav files. .wav files are too big and it affects how useful this is. This playlist uses 60.7MB of audio data. At the least, this shows a use case for mp3 and or ogg support on the audio object.
There's no OnPlaybackComplete event spec/support for the audio object, so the playlist can't automatically advanced to the next song after one is finished playing. Using track length info in the playlist file ( if any ) could possibly be used to set up a timer to work around this problem, but a real event is needed.
There's currently no onerror event spec/support for the audio object. A load event not firing is not the best way for determining an error. onerror is needed so a function can be called ( with event.target support etc.) when the file cannot be loaded for whatever reason.