I know that YouTube will play audio while in another tab or window, but my question:
(a) Does YouTube stop loading frames while in another tab? (i.e., loads audio but not video)
(b) If not, can I make it do as such?
I'm not picky if it buffers for a sec when I tab back, the video will be over anyways.
Clarification: I want to save bandwith by preventing Youtube from loading frames while unfocused. I suspect the answer is something like this psuedo-userscript:
Every few (say, 5) seconds: if the window is unfocused: // Know this is possible; several JS games do things like this to save CPU time drawing things Tell youtube to stop loading frames else: Tell youtube to start loading frames fi yrevE
EDIT: If Youtube already does this (which it ought to), there is no problem.