On iOS and desktop I don't have problems playing my HTML5 audio with audio.js – everything works fine. But with Android the play-button needs three taps to play!
I've also written a issue about this on audio.js' github: https://github.com/kolber/audiojs/issues/177
REPRO:
- go to http://kolber.github.io/audiojs/ on a Android phone (I tested with Xperia Z1/Android 4.4.2)
- expected the play/pause button to be in play state initally, but is in loading state
- clicking play makes the button go into play state
- clicking again sets the button into loading state
- clicking again sets the button into playing state, and this time finally plays the audio!
How can I make it play with only one tap/click??