Hello
Wondering if anyone has had (and preferably solved) issues with sound files in HTML5. I have a publication that requires a different sound to be played with each tap/mouseover etc. The problem I am having is that something always fails to play. This is what I've tried:
1. Different channels, although I'm not sure any browser takes notice. 2. Adding a delay block so that the next sound can't be played until the last one has definitely ended. 3. Trimming sounds so they are very short, with small files (3kb).
I also tried creating a 'sound sprite' and playing and pausing after a delay. This would only solve one of my issues, but I thought I'd test it. As it was, the start was unpredictable, knocking everything else out of whack (and Chrome apparently pauses in it's own time anyway). May be a javascript solution here, but it would take me a lot of time to implement, so I thought I'd wait on advice.
Also, it can be very difficult getting the iPad to play the first sound, whatever it is. It loosens up after one is out of the way, but there are subsequently always delays before anything is played (much more than the download time).
Other issues are that the iPad will only play a sound file if a user initiates it (ie. no automatic intro sounds). I also read that browsers don't cache sound files, so they are redownloaded each time from the server, but this may be out of date.
Any suggestions to a better way of dealing with all this? Thanks Dan
_________________ V9.6. Windows 10. Testing on PC, Mac, iPad.
For this message dan1 has been thanked by : mackavi
|