HTML5 audio blocking application


#1

Hello,

I’m using the HTML5 audio player in my Ionic app. I only use the javascript API, not the HTML widget.
I use it to listen to radio streams and it works. The problem is that, during around 1 second, before the radio is playing, the player blocks all the application and I can’t do anything. I don’t know where it comes from/
I developped a service to manage this audio player.
You can find it here : https://gist.github.com/Guiguillermo/a0b7f07e758b3bec2324

Thanks for your help !