ios 9 safari 9 - web audio starts in suspended mode

Web Audio simply starts in suspended mode and does not play any audio at all. It alos does not want to switch over to any other mode other than closed.
Last seen in IOS 9 - beta 5 - Safari 9

Hi!


Try starting the audio from the touchend event. Seems it will never be enabled if you use touchstart. (mousedown also works.)


Cheers,

Jay

Thank you so much for this

I am having the same issue and I have modified my code to use `ontouchend` instaed of `ontouchstart`, yet I still can not get it out of suspended mode. Here is my code


https://gist.github.com/angelathewebdev/32e0fbd817410db5dea1


Angela

I'm having similar issue. I added event listener on touchend to an element. I want to play audio when i finish drag finger on this element.

Everywhere is written that on touchend event audio should be playing, but it doesn't.

I found here: https://bugs.webkit.org/show_bug.cgi?id=149367 that: "Allowing media to play on touchstart means that ads videos and audio will autoplay when you scroll"


Can I suppose that if touchend comes from drag then audio will not play?

ios 9 safari 9 - web audio starts in suspended mode
 
 
Q