I'm trying to play a wav file by ANY means. With the audio tag or not, it does not matter.
It's for an application only used internally, and the sound only plays when a serious error is made. So it exists to annoy people.
This is the code so far:
var audioElement = document.createElement('audio');
audioElement.setAttribute('src', 'wav/actors_relig1.wav');
audioElement.play();
But that did not work.