Removing the document.body.removeChild(audio);
Allows the audio to play on Firefox 88.0.1 (64-bit).
But each time an alert gets played, a new <audio> element gets added to the DOM.
Instead of adding an autoplay audio element to the DOM, it also seems to work to just create an audio element and then play() it.
I'll try that out in production and make sure it works with older versions of Openkiosk. Josh
Removing the body.removeChil d(audio) ;
document.
Allows the audio to play on Firefox 88.0.1 (64-bit).
But each time an alert gets played, a new <audio> element gets added to the DOM.
Instead of adding an autoplay audio element to the DOM, it also seems to work to just create an audio element and then play() it.
I'll try that out in production and make sure it works with older versions of Openkiosk.
Josh