tadpol / Avrian-Jump

A very simple ladder language for programming ATMega168s from a web browser. (includes an AVR assembler written in javascript)
http://tadpol.github.com/Avrian-Jump/avrianjump.html
36 stars 4 forks source link

Won't play sound in Mobile Safari in iOS 5.1 #2

Open tadpol opened 12 years ago

tadpol commented 12 years ago

I'm pretty sure it did in iOS 5.0, so something must have changed. duno what.

tadpol commented 12 years ago

See answer at http://stackoverflow.com/questions/3871571/play-sound-in-iphone-web-app

Need to try using open() or an embed trick.

tadpol commented 12 years ago

Using open() on the data URI isn't working either. blah.

tadpol commented 12 years ago

embed tag method doesn't work either. (as in http://www.sk89q.com/playground/jswav/ ) So seems there isn't much that can be done.

filed a rdar://11130923

tadpol commented 12 years ago

for future reference: https://wiki.mozilla.org/Audio_Data_API https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html

tadpol commented 12 years ago

but from http://caniuse.com/audio-api we won't be using either of those soon.

tadpol commented 12 years ago

Apple marked bug report as a known and duplicate and is working on it. so rdar://11130923 is now rdar://8103801

tadpol commented 12 years ago

iOS 6 is going to support Web Audio API. I'm guessing that will be the official way of generating sound from HTML5. Do not know if the data URI will happen to work or not. So we'll see what that brings then; more waiting in the mean time.