0

html playing audio not working

I have a pure html/javascript application running on my (Brightsign XT114).
Everything works fine, I can drag objects etc.
The only thing not working is playing a sound (I tried .wav and .mp3) when a user touches the screen.

I tried these solutions:

https://brightsign.zendesk.com/hc/en-us/community/posts/209964747-HTML5-Audio-Support?input_string=html%20audio

https://brightsign.zendesk.com/hc/en-us/community/posts/209963357-Buttons-sounds-audio-for-HTML-5-interactive-touchscreen-app-on-XD1030?input_string=HTML%20audio

Both are not giving the result I want. Sometimes the audio plays, sometimes not or it plays after a few seconds.


The problem also occurs when I called the sound function from an external IO input. So I am not sure it is mainly a touch problem (multiple triggers fired).

Anyone has a solution?


 

0 comments

Please sign in to leave a comment.