I'm developing simple javascript game, which should be embeded in Android and Iphone in-app browser. I have problem with sounds. I tried this, works good on PC, but not working on android and works strange with big delays on iphone.
init:
var hitSound = new Audio('hit.wav');
play:
hitSound.play();
How to play sounds without delay on Android and Iphone browser?