Autoplay de video HTML no funciona
<script>
document.getElementById('vid').play();
</script>
Bibhu
<script>
document.getElementById('vid').play();
</script>
<iframe src="silence.mp3" allow="autoplay" id="audio" style="display: none"></iframe>
<body onclick="document.getElementsByTagName('audio')[0].play()">
<audio src="url">
</body>
Just muted your video. Than add autoplay, Then it is going to work! :)
audio_tag.setAttribute('autoplay', ''); //Rimon Islam 2021-08-07