I found this browser extension which is supposed to do that for YouTube. https://github.com/mozilla/video-bg-play. I rearranged the code into this tampermonkey script. https://gitlab.com/bteastman/block-window-visibility/-/blob/main/Block_window_focus.user.js. Source: about 1 year ago
If this add-on works for you https://github.com/mozilla/video-bg-play You can try setting https://github.com/gorhill/uBlock/wiki/Advanced-settings#userresourceslocation to raw version of this script https://gist.github.com/gwarser/3b47b61863bffcfebe4498c77b2301cd#file-video-bg-play-js and adding youtube.com##+js(video-bg-play) to My filters. Source: over 1 year ago
You can read about how it works and view its source code at https://github.com/mozilla/video-bg-play. Source: about 2 years ago
Do you know an article comparing Video Background Play Fix to other products?
Suggest a link to a post with product alternatives.
This is an informative page about Video Background Play Fix. You can review and discuss the product here. The primary details have not been verified within the last quarter, and they might be outdated. If you think we are missing something, please use the means on this page to comment or suggest changes. All reviews and comments are highly encouranged and appreciated as they help everyone in the community to make an informed choice. Please always be kind and objective when evaluating a product and sharing your opinion.