How video sharing sites perform autoplay with audio in chrome

0

google chrome (desktop) has policies that block the autoplay of videos with audio connected: link

But video sharing sites such as globoplay, youtube, dailymotion, autoplay videos with audio in google chrome.

What is the configuration required for google to interpret the site,  as well as those previously mentioned, releasing autoplay?

    
asked by anonymous 15.06.2018 / 16:58

2 answers

2

HTML5 itself has an attribute in the autoplay video tag

<video controls autoplay>
  <source src="https://www.w3schools.com/TAgs/movie.mp4"type="video/mp4">
  <source src="https://www.w3schools.com/TAgs/movie.mp4"type="video/ogg">
  Your browser does not support the video tag.
</video>
    
15.06.2018 / 17:13
0

As the colleague said on top html5 itself already has this option is only to use autoplay however this option does not work very well on phones mainly Android because many browsers block the autoplay and there is no way to do anything else recommend you a look at this link to better understand the attributes of the video tag Well here

    
15.06.2018 / 17:32