Ok, I have never used the HTML video tag before but am having confusion as to how to make sure the video can play on both mobile AS WELL as desktop, on all common browsers.
This is what I have, currently working on Safari mobile (after a load time) and desktop Chrome and Safari:
<div id = "centered">
<video poster="../resources/Anim5.png" id="bgvid" playsinline autoplay loop controls>
<source src="../resources/anim.webm" type="video/webm">
<source src="../resources/anim.mp4" type="video/mp4">
</video>
I want the video to have controls and autoplay. I know the video div is showing up because I just get the poster image on mobile, but in Chrome on mobile video does not play.
I thought it was an autoplay issue but for whatever reason I can't get controls to show up either - despite including that in tag.
What is the correct HTML video configuration here? What am I screwing up?