JSFiddle - React, Tailwind, and code Playground
by xxxvvvxxx
HTML
<audio id="myaudio" controls>
<source src="https://od.lk/s/OThfMzY4Mzc3NTJf/xxx.mp3" type="audio/mpeg">
Your browser does not support the audio element.
</audio>
<button id="btn" onclick="play();">음성듣기</button>
JavaScript
var play = function() {
document.getElementById("myaudio").play();
}