Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Doesn’t YouTube technically autoplay? You click a link, change page and url and a video starts playing


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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: