User interaction needed to play an audio HTML element in iOS WebView

To be able to play an audio HTML element in iOS, user interaction is required. No event listeners will be called (loadeddata, canplay) untill then.
1 answer

Setting the audio tag to autoplay and stopping it in the code when it starts to play you can manipulate the sound, this is a hack but a necessary one.

Taggings: