HTML5 Video is making LayerSlider WP break on autoplay

The video is intended to autoplay but it is making the slider not appear at all… it breaks it… It works only on safari but not on chrome or firefox

<video id="video1" width="945" height="600" controls>
<source src="http://fistart.org/videos/FistArt.mp4" type="video/mp4">
Your browser does not support the video.
</video>


<script> 
var myVideo=document.getElementById("video1"); 
myVideo.onloadeddata=myVideo.play(); 
</script> 

Related posts

Leave a Reply