Closed tifroz closed 9 years ago
This lib requires wav support so, if there's no wav support there's no simple solution. There seems to be support in regular safari so maybe there'll be an upgrade at some point to the mobile browser.
I'm looking incorporating playback through flash for browsers without support for wav but it still wouldn't help iPhone users.
You can see whether mobile safari supports wav over there: http://www.jplayer.org/HTML5.Audio.Support/
I've tested this. iOS does support the WAV format in a HTML5 audio tag, but unfortunately the library doesn't seem to work. This might be because iOS doesn't support direct input of wave data in the Javascript Audio() constructor, or there might be some other problem. iOS does have a few other weird HTML5 audio/video quirks, such as the autoplay attribute not working.
I re-tested this with Safari/600.1.4 on iOS 8.3 and it seems to be working now.
This is really pretty awesome...I had no idea javascript could be use to emit sounds to begin with!
I couldn't get any sound out of it on mobile safari though (running on the iPhone) - any idea why and if that's something that could be addressed? (Yes...I check that the volume was turned up all the way)
Either way - thanks a lot for sharing, it's very impressive.