Why is auto play muted in both Firefox and Chrome? How can we code it so that browsers don't block it?
Here's the code I'm using:
<audio id="audio1" src="https://notificationsounds.com/storage/sounds/file-sounds-1217-relax.mp3" autoplay="">
<script>
a = document.getElementById('audio1');
a.onended = function(){setTimeout("a.play()", 1000)}
</script>