Hacker News new | past | comments | ask | show | jobs | submit login

I don't agree, I leave a video on, switch tabs to read something else, and now it stops. There is no way to get it to keep playing and switch tabs.



FYI there is a firefox addon to block the visibility API I can now listen to the UK PM's coronavirus update on my phone with the screen locked, or while looking up something else.

Whoever invented that API forgot whose client the browser is. Mine.


Just open a new window and leave the tab with the video on top of that window. (It hasn't to be always tabs only.)


Doesn't work on mobiles.


Then you are doomed. ;-) (On mobile, it's your browser anyway that mutes any not currently on top and visible web sources, without any "help" by the particular website.)


I know this is an old topic now, but that's not true. I've installed a firefox plugin that disables the visibility API. Result - now youtube in a firefox tab keeps playing even with my screen locked.

It is most definitely the page doing the muting.




Join us for AI Startup School this June 16-17 in San Francisco!

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

Search: