autoplay with controls not working in video tag 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();
}