In my touchscreen app, I need button sounds for user feedback. The methods I've tried so far however have yielded inconsistent results. The buttons will play the sound 4 or 5 times in a row, then fail a few times, then start working again. I've used 2 HTML/JQuery attempts. The first was a Javascript plugin called Ion.Sound. Worked great in a browser, but inconsistent on BrightSign. Then I tried using an <audio> element controlled by events. The JQuery looks something like this:
var btnSound = $("#buttonsound")[0];
$("div.touch-button" ).click(function(){
btnSound.currentTime = 0;
btnSound.play();
}
Here's the HTML:
<audio id="buttonsound" preload="auto">
<source src="beer_can_opening.mp3">
</audio>
Again, works fabulously in the browser, but the same problems in BrightSign.
Is what I'm trying to achieve reliably possible?
Feel free to have a look at the files ;) https://www.dropbox.com/s/d9t8r907jdan24w/brightsign-test.zip?dl=0