3 ms·
Interestingly, this API is one of the tools Youtube uses to stop you from playing videos in the background on mobile.
by kevingadd 5y ago
Interestingly, this API is one of the tools Youtube uses to stop you from playing videos in the background on mobile.
- mrsalt 5y agoHere's an old thread about this: https://news.ycombinator.com/item?id=21244440 https://news.ycombinator.com/item?id=21244440 It's obvious when you the Page Visibility API original editors/authors: https://www.w3.org/TR/page-visibility-2/ https://www.w3.org/TR/page-visibility-2/