Fake "user initiated" <audio> tag on iPad

Posted by Alex Ford on Stack Overflow See other posts from Stack Overflow or by Alex Ford
Published on 2010-05-24T01:04:24Z Indexed on 2010/05/24 1:11 UTC
Read the original article Hit count: 342

Filed under:
|
|
|
|

I know that Apple's docs say that an mp3 within an <audio> tag on iPhone OS can't be played without user intervention (they cite bandwidth concerns, totally reasonable). However, has anyone succeeded in faking a user action to play the audio? Perhaps faking events to off screen native audio controls with JavaScript? I'm using jPlayer right now which works great on desktop Safari, but is silent on my iPad.

I'm prototyping a touch interface using WebKit on the iPad, and audio is an integral part of the experience, so yes, I do have a good reason to want to override this convention.

I'd appreciate any help. Thanks.

© Stack Overflow or respective owner

Related posts about iphone

Related posts about audio