Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How does Youtube autoplay its videos?

With recent changes in html5 video, it's no longer possible to autplay videos (HTML 5 Video "autoplay" not automatically starting in CHROME)

However, with youtube api you can still embed one of their videos with autoplay parameter and it actually does autoplay it.

How is this possible? This double standard that Google team is doing with their Chrome

like image 633
user151496 Avatar asked Dec 06 '18 23:12

user151496


People also ask

Does YouTube automatically play the next video?

Turn Autoplay on or off Go to the watch screen of any video. At the bottom of the video player, click the Autoplay switch to set it to On or Off .

Why is autoplay turning on by itself on YouTube?

If you're 18 or over, Autoplay is turned on by default. All users can change their Autoplay settings. You can have different Autoplay settings for different devices. For example, you can set Autoplay to be “On” in the YouTube app on your mobile device, but set it to “Off” when watching YouTube on your computer.

Does autoplay count as a view on YouTube?

Yes, embedded YouTube video views count when the video is embedded into the content of the page and a user purposefully clicks on the video to play it. An autoplay embed video may not count. A background video (that is, you placed the YouTube video in the background of your website) will not count.


1 Answers

Chrome autoplays Youtube videos through a whitelist.

For clean installs of Chrome, Google will include a whitelist of 1000 sites where autoplay is enabled. The sites whitelisted are based on sites where Google sees the highest percentage of visitors play[ing] media with sound. As you browse, the whitelist will grow to match your browsing history.

More info can be found here: Improving Autoplay in Chrome

If you don’t have browsing history, Chrome allows autoplay for over 1,000 sites where we see that the highest percentage of visitors play media with sound. As you browse the web, that list changes as Chrome learns and enables autoplay on sites where you play media with sound during most of your visits, and disables it on sites where you don’t.

like image 143
Jack Avatar answered Sep 18 '22 09:09

Jack