We’re writing a simple queue management system, where the number is shown as an embeded html.
When the number changes, it plays a sound. But the sound doesn’t work on android player (still have not tried on windows player).
With chrome, in a normal web page, I have to interact with a click on the page, to make it allow me to play the sound. But obviously this interaction is not possible on Xibo.
Is the problem the same? Is there a workaround?
On android we set setMediaPlaybackRequiresUserGesture to false, which is the fullest extent we can control that option and I think does the same as your policy link.
Thank you Dan, we use in embedded javascript this function:
var n=new SpeechSynthesisUtterance("Serviamo il numero "+e);
window.speechSynthesis.speak(n)
It works in preview after interaction, but it doesn’t work in the player, both Android an Windows.
I see in another post that the function jQuery sound.play() should work, so it’s a specific problem with the SpeechSynthesisUtterance function?