This Android bug with HTML5 audio is awful. After a phone call or SMS, it resumes playback EVEN IF the audio was paused and EVEN IF the browser isn’t active. I just added a +50 bounty to this question as I still can’t figure how to prevent playback from happening.
Try it yourself on Android Browser: http://jsbin.com/welcome/5289
Meanwhile Chrome audio is so temperamental it shuts down when the screen turns off, a critical flaw which no-one is prepared comment on (http://code.google.com/p/chromium/issues/detail?id=121898).So much for open web standards.
And you wonder why native apps are eating HTML5’s lunch. Even with packaging from PhoneGap and it’s building apps on a house of cards. Until the default Android runtime is Chrome, and Android Chrome gets up to parity with Mobile Safari and beyond, there’s not much point using HTML5 to develop anything serious on Android, not when the native platform keeps running ahead on turbo mode.
http://t.co/3vjkDz4C HTML5 Audio on Android: DOA
RT @codepo8: http://t.co/3vjkDz4C HTML5 Audio on Android: DOA
HTML5 Audio on Android: DOA http://t.co/12OXb6bA
HTML5 Audio on Android: DOA: http://t.co/kLMpwf4U
HTML5 Audio on Android: DOA http://t.co/FYHJnXf5
HTML5 Audio on Android: DOA http://t.co/LKClViId
HTML5 Audio on Android: DOA http://t.co/IX9BXLC5
Pingback: It Took Eight Months, But Mobile Chrome Gets HTML5 Audio Right : Player FM Blog