hello. I am trying to add a video to the homescreen of my site and am having some issues. I want the video to auto play when someone loads the site and have no controlls, kind of like how a gif would look. I used the following code but it just shows a still image when I load the page in chrome (when i right click it and select “show controlls” and then hit play it works)
<video id="introVideo" autoplay loop preload="auto">
<source type="video/mp4" src="/wp-content/uploads/2018/09/handbrake4.mp4" />
</video>
<script>
document.getElementById('vid').play();
</script>