Soo
-
Posts
3 -
Joined
-
Last visited
Reputation Activity
-
Soo got a reaction from LcsProduction in Code: Autoplay Video doesn't work on public site
I've solved it!
In Chrome and Safari, mute="muted" must be added to play automatically.
<video id="vid" width="320" height="240" autoplay="autoplay" loop="loop" muted="muted" controls> <source src="https://~om/tags/movie.mp4" type="video/mp4"> <source src="https://~" type="video/ogg"> </video>
-
Soo got a reaction from tuanphan in Code: Autoplay Video doesn't work on public site
I've solved it!
In Chrome and Safari, mute="muted" must be added to play automatically.
<video id="vid" width="320" height="240" autoplay="autoplay" loop="loop" muted="muted" controls> <source src="https://~om/tags/movie.mp4" type="video/mp4"> <source src="https://~" type="video/ogg"> </video>