I never thought, I'd have to ask THIS question:
Is there a cross-browser way to play background MIDI files in a website without the need for a plugin?
(Now, please don't answer with "don't do it! it's annoying as hell!". It's for a kids-page and they love this stuff... And I will give the option to turn it on or off...)
I've found several approaches, each with their own problems:
<bgsound ...>
-tag: IE only; must be careful not to use with other tag that IE might interpret also<embed ...>
-tag: Doesn't work in Chrome. Firefox requires a plugin, which it can't even install automatically...<object ...>
-tag: Chrome and Firefox require a plugin. Both suggest QuickTime, but neither installs it correctly...<audio ...>
-tag: Requires HTML 5; also not sure if it supports MIDI across browsers...- use a Java applet: Not available everywhere, and seems like overkill
Is there some way to make this work across browsers (minimum: current Firefox, Chrome, Safari, Opera, IE6+, Android, iOS) without requiring any plugins? Probably some clever mix of all the tags listed above?
I am really surprised that this seems to be so difficult. Is MIDI deprecated? Or background-audio in websites in general?