upvote
Yes, actually!

Well, it does require you to install an extension[0], but it can be done.

[0]: <https://github.com/mozilla/video-bg-play>

reply
Thats good to know, but I am a "out of the box" person. I never want to have to manually install extensions as thats just more stuff to remember when setting up a new machine. Yea thats a me problem, but still.
reply
It used to support it out-of-the-box as well, but it's technically against YouTube's ToS to allow this without paying for a premium, so now you need this as an extra hoop.
reply
Why should a browser be policing YouTube’s ToS for them?
reply
Agreed, this sounds strange indeed. Much more likely is that Google found a reliable way to detect the screen status using a standard feature and Mozilla just implements the standard neutrally
reply
Wouldn't know, as I have never been in charge of one, but I imagine Google having the power to make your browser completely irrelevant would be a pretty strong incentive.
reply
You want to have your cake and eat it too, I think the best solution in your case is paying for youtube
reply
Or I just keep using brave and not pay for the biggest media corpo that just passed Disney in revenue.
reply
Was Brave pre-installed on your computer or did you remember to install it?
reply
You don't install software on your machines that didn't come pre-installed/configured?
reply
They're literally asking for a paid YouTube feature to be free "out of the box". Lol wild.
reply
Nah I want general media playback in the background. Doesn't matter if its Youtube or any other platform. I dont want giga corpos to monetize my attention. Youtube does well enough from ads anyway ;)
reply
Even youtube's app itself doesn't allow that unless you pay. I suspect they've nobbled most browsers into not allowing it, either by technical measures or (more likely) the strong-arm tactic of saying “if you don't block this we'll find a way to make the entire of youtube practically unusable on your browser”.

I've been using Grayjay recently which does allow that, amongst a number of other useful features (integrating other media sources, lack of adverts every few minutes in some content). Might be worth considering as an option.

reply
Kagi’s Orion browser on iOS is able to play YT vids in the background.
reply
You can play yt video in firefox with locked screen but you need to use desktop mode
reply
It allows you to play youtube without ads with ublock origin.
reply
I used ublock origin for a while, but I kept having issues with it on Youtube due to Youtubes anti adblock measurements. Brave for some reason always had a fix for it pretty quickly, so I never experienced these issues with it. Maybe I could try a different browser again on my next machine.
reply
In iOS kinda yes; you have to request desktop version, and once you activate the lock screen for the first time you have to press “play”. Then it just plays and auto plays in the background.

Don’t know about android, but there is also an extension there that blocks the visibility page api for YouTube.

reply
Why not simply use NewPipe [0]?

You also get ad filtering and you can download Audio/Video streams from within the app.

[0] https://newpipe.net/

reply
Yes. That's the primary reason I use it, but you have to install an extension called "Video Background Play Fix".
reply
Tubular app does, and it blocks ads
reply