JSFiddle - React, Tailwind, and code Playground
by AnthonyLeGovic
HTML
<!DOCTYPE html>
<html>
<body>
<script>
function EvalSound(soundobj) {
var aaa = $('#audioSnd')[0];
aaa.play();
}
</script>
<audio id="audioSnd" controls >
<source src="http://www.w3schools.com/html/horse.ogg" type="audio/ogg">
<source src="http://www.w3schools.com/html/horse.mp3" type="audio/mpeg">
Your browser does not support the audio element.
</audio>
<form>
<input type="button" value="Play Sound" onClick="EvalSound('audioSnd')">
</form>
</body>
</html>