Printable Version of Topic

Click here to view this topic in its original format

HTMLHelp Forums _ Graphics, Flash and Multimedia _ Video Won't Autoplay

Posted by: Just As I Am Apr 17 2019, 07:34 PM

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).

Ideas?

Posted by: CharlesEF Apr 18 2019, 12:07 AM

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?

Posted by: Just As I Am Apr 18 2019, 10:31 AM

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)