I cannot seem to get audio media to play in Mobile Safari on iOS 4.2.1 in any situation other than the handler of a click event performed by the user. Even then, if p
p
This worked on the iPad until last nights 4.2 upgrade:
$(function() { var Beep = document.createElement('audio'); Beep.setAttribute('src', 'beep-23.mp3'); Beep.load(); Beep.play(); }
My Beep.play(); still works for a click event, but the initial Beep.play() stopped working...
Beep.play();
Beep.play()