views:

46

answers:

1

Is there a reason that all of the audio javascript libraries I'm finding (jPlayer, SoundManager 2, etc.) try to use HTML 5, and if that doesn't work attempt to use Flash but then don't fall back to anything else? Why wouldn't they try to fall back to the default HTML sound tags like <embed>, <object>, or <bgsound>?

Is there a library out there that does? I'd like to be able to play a sound if the user is using IE6 without Flash installed.

Thanks!

A: 

You can have it fallback so that if the person doesn't support HTML5 and you want to use basic HTML then just download a sound file and let the browser run an application to play it.

It isn't ideal, but as was pointed out, before HTML5 you have very few options, and since you don't like Flash your options just got reduced.

James Black
Midi files always used to work though didn’t they? 1996, home pages about cats and knitting, ‘The Greatest Love of All’ playing on midi as the hit counter gif clicks up deliberately to 00000008.
Paul D. Waite
@Paul D. Waite - I expect most browsers will play midi files fine.
James Black