News for hackers. Stuff that matters.
Re:Firefox 70 by roca on Tuesday October 22, 2019 @08:50PM (#21330012)
Youtube uses the Media Source Extensions API, which means that JS is responsible for fetching compressed video data and feeding it into the decoder, so it can implement adaptive streaming. Pause JS for more than a few seconds and the video will stop playing.
Re:Firefox 70 by dwaite on Wednesday October 23, 2019 @05:29AM (#21332826)
Yes, and this is likely why Youtube now periodically pauses in the background on current macOS/Safari.