I am using the code below to embed a video on the front page of a website at http://www.EvandAndRogers.com.
<video width="448" height="361" poster="/images/demo_poster.jpg" autoplay loop controls>
<source src="/videos/EvansRogers-Demo.ogv" type="video/ogg">
<source src="/videos/EvansRogers-Demo.mp4" type="video/mp4">
<source src="/videos/EvansRogers-Demo.webm" type="video/webm"></video>
The problem I am having is that in Firefox and Chrome, the video will not autoplay, but works fine if you manually play it. In Microsoft Edge, it autoplays, but gves me only sound (that is a different issue I will fix later).
Firefox 66 to block automatically playing audible video and audio. See https://hacks.mozilla.org/2019/02/firefox-66-to-block-automatically-playing-audible-video-and-audio/. Maybe Chrome does the same?
That was the solution for both Firefox and Chrome. Thank you.
Powered by Invision Power Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)