soundmanager2 will use html5 audio instead of flash if various properties are set and it thinks conditions are Ok.
Once soundmanager2 has decided, is there a property on the SoundManager object that will tell me whether it went for html5 or flash?
(I know it mentions it in the debug log but I'm looking for a property I could query)
I don't think it's documented but the SMSound
object has an isHTML5
property that you can check to see if a given sound is using HTML5 Audio.
The SoundManager
object also has an html5
property that contains information about what audio formats are supported by the current browser.