Hello.
I am trying to add a click sound to a touch presentation that is entirely made of HTML5, but can't make it quite work.
I use the code:
<body>
<audio id="audio" src="audio/click.mp3"></audio>
...
<script>
$('body').click(function() {
document.getElementById('audio').play();
});
<script>
</body>
This should work, and it does - on a PC with Chrome. Works as wanted, when clicking anywhere on the html area the page emits a click.
But can't make it work on an XD1032. I am using a video or image zone for the html page. The audio is output through HDMI and analog. Tired with mp3 and wav. So I am wondering if this is supported on a BS and if it should work?