I need to playback audio files in many different web browsers and different versions. The old system produces 4-bit WAV files, which many browsers can\'t handle. All files c
With the HTML5 audio
tag you can specify different audio types to attempt to load because each browser allows different types. There is a nice compatibility chart on this page: http://html5doctor.com/native-audio-in-the-browser/
The below code will work with most browsers. It first attempts the new HTML5 audio
method then falls back on the embed
method.