The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

> Video Won't Autoplay
Just As I Am
post 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
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
 
Reply to this topicStart new topic
Replies
Just As I Am
post Apr 18 2019, 10:31 AM
Post #2





Group: Members
Posts: 5
Joined: 11-February 15
Member No.: 22,184



That was the solution for both Firefox and Chrome. Thank you.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Posts in this topic


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 18th September 2019 - 02:34 AM