01-23-2013 04:25 PM
I've tested my app in Chrome and Ripple and I have an image when pressed plays a sound. Works perfectly, but apparently not on the actual device.
That is the script Im using and I dont know where Im wrong. Also I have a <div id="audio"></div> in my body tag.
Someone know the solution?
If any post helps you please click the below the post(s) that helped you.
2. Please resolve your thread by marking the post "Solution?" which solved it for you!
01-23-2013 07:47 PM
The device is case sensitive on file names... so that would be one thing I would check. Took me a bit to figure that one out before (worked on Ripple/Chrome, but not on device).
Interesting way of managing sound.
01-24-2013 10:11 PM - edited 01-24-2013 10:14 PM
var mySound = new Audio("sound.mp3");
If you want to get into rapidly repeating audio, I've fought with that too, and got it working
I am assuming this is for BB10 because the solution varries based on the device.