<html>
<body>
<audio controls oncanplay="myFunction()">
<source src="/i/horse.mp3" type="audio/mpeg">
Your browser does not support the audio element.
</audio>
<script>
function myFunction() {
alert("Can start playing audio");
}
</script>
</body>
</html>