why autoplay is not working in html code example
Example: html video tag autoplay not working
<script type="text/javascript">
window.onload= function(){
var x = document.getElementById("home-video").play();
}
<script type="text/javascript">
window.onload= function(){
var x = document.getElementById("home-video").play();
}