Yes, you can always get YouTube Red or use a third-party app, or even go back to the previous version of the Firefox browser (Mozilla – 52.0.1). However, if you still want to use Firefox for background playback, then here is how to do it. All you have to do is install a simple Firefox extension called video playback fix by the author Timothy Chien.

  1. Download Firefox browser, if you haven’t already done it.

  2. Open Firefox and go to this link – video playback fix or search for it by going to Tools > Add-ons > Browser All Firefox Addons. Once there, tap on the toggle switch to enable the add-on.

  3. And that’s it. Play any YouTube on Firefox (no need to turn on the desktop mode), and now if you close the app, switch to other app or even lock your screen; the video will still play in the background.

You can even pause playback or switch tracks in a playlist, from the notification tray. Firefox stream both Audio and video when it runs in the background. But if you only want to stream Audio, try NewPipe. The app is open source and only available on Fdroid for obvious reasons. Or check out this quick video