469,913 Members | 2,683 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,913 developers. It's quick & easy.

Play audio in iOS 5+ on image click

Does anyone have an example of how you would get audio to play on click in iOS 5+?

Not sure if this is even possible - but I'm trying to get an audio file to play when an image is clicked in mobile safari - I have some javascript set up to play the correct file format (.ogg vs .mp3) when the image is clicked so that it works on desktop browsers but it doesn't translate to iOS 5.1.1 - anyone had any experience with something like this?
May 22 '12 #1
0 1412

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

21 posts views Thread by Steve K | last post: by
3 posts views Thread by Varangian | last post: by
1 post views Thread by Brett Wesoloski | last post: by
dmjpro
2 posts views Thread by dmjpro | last post: by
2 posts views Thread by Ahmd | last post: by
reply views Thread by universe | last post: by
1 post views Thread by =?Utf-8?B?dHBhcmtzNjk=?= | last post: by
1 post views Thread by Waqarahmed | last post: by
reply views Thread by Salome Sato | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.