HTML Video Autooduplay nie działa
<script>
document.getElementById('vid').play();
</script>
Bibhu
<script>
document.getElementById('vid').play();
</script>
<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
After autoplay put muted, the video will not have a sound, but it will autoplay