Hacker News new | ask | show | jobs
by wodenokoto 485 days ago
Doesn’t YouTube technically autoplay? You click a link, change page and url and a video starts playing
2 comments

Video autoplay is usually allowed on a whitelist of URLs determined by the browser vendor, if I recall correctly.

YouTube is always on those whitelists.

I can't try it at the moment, but I'm not sure the page is actually reloaded. I suspect YouTube is an SPA and, when you click, the url change event is captured by a router and the content of the page is merely replaced.