3 ms·
Auto-play video with sound is allowed by browsers after you interact with a web page. Youtube is an SPA (you can tell because it often fucks up the back button
by ksherlock 3y ago
Auto-play video with sound is allowed by browsers after you interact with a web page. Youtube is an SPA (you can tell because it often fucks up the back button) so when you click on video link, you're interacting and auto-play works. When you open in a new tab, it loads anew and won't auto-play because there hasn't been any interaction.
https://developer.mozilla.org/en-US/docs/Web/Media/Autoplay_guide https://developer.mozilla.org/en-US/docs/Web/Media/Autoplay_...
- qup 3y agoTo be fair, my peers were fucking up back buttons long before the term "SPA" ever hit the scene. https://www.nngroup.com/articles/the-top-ten-web-design-mistakes-of-1999/ https://www.nngroup.com/articles/the-top-ten-web-design-mist...