04Jul

HTML5 video autoplay for Chrome policy

The autoplay policy changed in April 2018 for Chrome.

Autoplay is currently restricted in the following environments:

 

How to mute a HTML5 video?

<video controls muted>
  <source src="movie.mp4" type="video/mp4">
  <source src="movie.ogg" type="video/ogg">
  Your browser does not support the video tag.
</video>

Source Vimeo and w3schools.

Subscribe
Notify of

0 Comments
Inline Feedbacks
View all comments