Video Won't Autoplay |
Video Won't Autoplay |
Just As I Am |
Apr 17 2019, 07:34 PM
Post
#1
|
Group: Members Posts: 5 Joined: 11-February 15 Member No.: 22,184 |
I am using the code below to embed a video on the front page of a website at this website.
<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? This post has been edited by Just As I Am: Apr 17 2019, 07:37 PM |
CharlesEF |
Apr 18 2019, 12:07 AM
Post
#2
|
Programming Fanatic Group: Members Posts: 1,996 Joined: 27-April 13 From: Edinburg, Texas Member No.: 19,088 |
Firefox 66 to block automatically playing audible video and audio. See here. Maybe Chrome does the same?
This post has been edited by CharlesEF: Apr 18 2019, 12:09 AM |
Just As I Am |
Apr 18 2019, 10:31 AM
Post
#3
|
Group: Members Posts: 5 Joined: 11-February 15 Member No.: 22,184 |
That was the solution for both Firefox and Chrome. Thank you.
|
Lo-Fi Version | Time is now: 13th December 2024 - 01:13 PM |