It can be a bit buggy at times, but when it comes to just playing music with the screen locked, it’s perfect.
https://addons.mozilla.org/en-US/firefox/addon/video-background-play-fix/
Edit: I forgot to also mention that ad blocker extensions make sailing the seas on mobile much more manageable. Extentions, in general, have been a really nice addition.
- RiMusic https://github.com/fast4x/RiMusic
- SimpMusic https://github.com/maxrave-dev/SimpMusic
- OuterTune https://github.com/OuterTune/OuterTune
- Metrolist https://github.com/mostafaalagamy/Metrolist
- InnerTune https://github.com/z-huang/InnerTune
Any of these (YouTube Music) players are better choices than using an extension on a browser.
Also better features like lyrics, better interface…PS: extensions can access all of your browser data, you need to trust the extensions hoping that they aren’t sending your data to some 3rd party
I’ve used most of these and quite frankly they are not good. Each of them quit working randomly or wouldn’t play certain tracks and wouldn’t get an update for days or weeks, at which point I’d move on to the next and get exactly the same experience. They’re FOSS apps, and I’m fairly certain Google is to blame for breaking them, but even so if they are unusable for days or weeks at a time I cannot recommend them.
If you just want a YouTube app with no ads and background playback I would recommend PipePipe. It’s what I’ve settled on after trying everything else, and it’s fantastic. Google breaks it all the time, but updates very quickly bring it back online.
If you want something FOSS that’s closer to the YT Music experience, I don’t know what to tell you.
RiMusic is update regularly, no third party player is perfect, even PipiPipe or Newpipe can break suddenly, Google/YouTube don’t like third party apps using their services and are always implementing ways to break apps
I’m good with ReVanced, thanks.
Playing YouTube on a mobile browser is finicky at best.
YT on DuckDuckGo browser on iPhone? Never seen an advert and can play videos with the screen off. Easy peasy.
Speaking of, where can I get revanced? There seem to be three different revanced managers floating about…
Here’s their Github, enjoy friend!
Revanced.app and the GitHub the other person linked to are the only official sources.
An easy way to tell if you’re using the legit version is if you’re using ReVanced Manager to build the APK yourself. (Don’t worry, it’s easy and straightforward.) If you downloaded an APK directly, you have a fake copy.
deleted by creator
You know Firefox for android does this natively. No plugin required.
How? Mine does not as it is setup currently.
I play the video in Firefox then lock the screen, which stops the playback but then FF is in the media bar so I can press play to continue playback.
Didn’t realise that this worked, thanks!
That was my thought… I was thinking “I already do this without an extension”, so I had to verify that I wasn’t using an extension that I forgot about.
YSK: Revanced is a thing that exists.
You can also use yt music revanced.
What I do is I just jump into Termux and yt-dlp that shit. Then I can listen to it however I want, and I have it for ever, if I want.
edit: (Also I’m just not a huge fan of addons, but if you are and this works for you, that’s cool)
You can create a file in
~/bin
namedtermux-url-opener
. It’ll be executed when you “Share” a URL to Termux. In the script you can go wild. Setup a menu with options:- Download video to a folder.
- Download a video to a hidden folder.
- Download just the the audio then convert it to MP3 with your desired quality.
Stuff like that.
Less technical people can simply install Seal:
https://f-droid.org/packages/com.junkfood.seal/
Honestly, Seal is just easier, and even supports custom command templates, so it does literally everything you could want.
But Termux can do more than just yt-dlp.
And for everyone else who doesn’t want extra garbage on their phone it’s: switch to ‘Desktop Site’ > continue doing whatever else. This applies to both Firefox and Firefox Focus
No need promote/install more unnecessary stuff on your phones 🤦
Edit- that being said, I still include no script/ublock in FF and use FFF for yt videos when I don’t want to clog my Tubular history (newpipe fork with sponsor block) with useless stuff that I’ll never want to rewatch.
Ugh, no. Another “emulate in browser what could’ve been native” thing.
This IS native in firefox for android. I have no idea why OP is using an extension.
For those on iOS: there’s an app called “Vinegar” that replaces the YouTube player with a vanilla HTML5 player that supports background/PiP play without YT Premium.
Alternatively on iPhones with “dynamic island”, minimize Safari while a video is playing, quickly tap-and-hold the dynamic island area and resume playback. After that you can lock your device and audio will continue playing.
I also use it to listen to podcasts/ lore videos without having my screen on when I’m falling asleep. It’s also nice for driving. If you make a playlist and have an ad blocker, it WILL continue on to the next song.
I’m actually thinking of forking Firefox and making a lite version mostly geared towards playing YouTube content without ads and without restrictions.
Use fennec or Ironfox
RVX also does this. Install revanced.
This functionality is also built into the brave browser on mobile as well (at least on iOS)
Brave settings -> Media -> Enable Background Audio