YouTube Background Play Stopped Working in Firefox for Android? Causes and Fixes

YouTube background play stops in Firefox for Android because YouTube's player pauses the video as soon as its tab is hidden or you leave full screen. Firefox itself keeps media running in the background, but YouTube limits background play to YouTube Premium (and, since February 2026, Premium Lite for most videos) inside its own mobile apps. The reliable fix is a Premium plan with background play switched on in the YouTube app.
This guide explains why playback stops, how to set up and troubleshoot the official option, what Firefox for Android does on its own, and where the old Video Background Play Fix add-on fits in.
Why YouTube stops playing when you leave Firefox on Android
YouTube pauses because the site detects that its page is no longer visible. Mozilla's support article on the issue explains that websites can listen for two browser events and stop the video when they fire:
- The Page Visibility API sends a visibilitychange event when you switch tabs or move Firefox to the background.
- The Fullscreen API sends a fullscreenchange event when you exit the full-screen player.
Mozilla describes this as normal behavior when a site chooses to use these events, and notes that background playing still works on other video sites (Mozilla: Some videos won't play in background).
The reason YouTube does it is commercial: background play is a paid benefit. Google's help center states that background play works only in the YouTube mobile apps (YouTube, YouTube Music and YouTube Kids) for members signed in with YouTube Premium, and that it is not available in the Shorts player (Google: Use your YouTube Premium benefits). That is why the problem returns after browser updates or YouTube player changes: the site is designed to pause, so nothing in Firefox is broken.
The official fix: YouTube Premium background play
YouTube Premium is the supported way to keep YouTube audio playing with the screen off or while you use other apps. It works in the YouTube Android app, not in a mobile browser tab, so the fix means moving playback from Firefox to the app.
- Subscribe to YouTube Premium (or Premium Lite, see below) in a country where it is available.
- Install or update the YouTube app and sign in with the account that holds the membership. The Premium logo replaces the standard YouTube logo when you are signed in correctly.
- Open Settings in the YouTube app, go to Background & downloads and tap Background play.
- Choose the mode you want from the table below.
| Setting | What it does |
|---|---|
| Always on | Videos always keep playing in the background (default) |
| Headphones or external speakers | Background play only while headphones, speakers or another external output is connected |
| Off | Videos never play in the background |
Open YouTube videos in the app instead of a Firefox tab and playback continues when you lock the screen or switch apps. Before you subscribe, check YouTube's Premium page for any trial offer your account qualifies for in your country. Households that share a family plan should know that YouTube has started flagging family plan members who do not live at the same address.
Premium Lite now includes background play
YouTube Premium Lite gained background play and downloads in an update that started on February 24, 2026, according to the official YouTube blog (YouTube Official Blog). YouTube said the features would roll out over the following weeks in every market where Premium Lite is offered.
Premium Lite is the cheaper of the two plans, but it covers "most videos" rather than everything. YouTube points users who want all videos ad-free, offline and in the background, including music, to the full Premium plan. In practice:
- Choose Premium Lite if you mainly listen to podcasts, talks, tutorials and other non-music videos in the background.
- Choose YouTube Premium if music playlists are the main reason you want background play, or if you also use YouTube Music.
Prices and availability differ by country, so compare both plans on YouTube's own Premium page before you pay.
Background play still stops with Premium: checks to run
If background play fails in the YouTube app even with an active plan, work through Google's own troubleshooting list (Google: Background play isn't working):
- Close the YouTube app or restart the phone.
- Confirm the membership is active: profile picture, Paid memberships, Manage.
- Sign out and back in with the account that holds Premium.
- Check that you are in a country where YouTube Premium has launched.
- Make sure Background play is not set to Off, or set to the headphones mode while no headphones are connected.
- Update the YouTube app to the latest version.
- Allow background data for YouTube in Android's app settings.
- Stop other apps that are playing audio.
- Do not block all YouTube notifications in Android.
If none of this helps, send feedback from inside the app and mention whether the sound stops the moment you leave the app or only later.
What Firefox for Android does on its own
Firefox for Android keeps audio and video playing when you minimize it, unless the website pauses the media itself. Mozilla's video help page lists the exceptions and controls (Mozilla: Playing videos in Firefox for Android):
- Private tabs: Firefox pauses audio and video in private tabs when you minimize the browser.
- Media controls: while media plays, Firefox shows playback controls in the Android notification panel. If they are missing, allow notifications for Firefox in Android settings.
- Picture-in-picture: start a video, switch to full screen and go to the Android home screen; the video shrinks into a floating window. If that fails, allow picture-in-picture for Firefox in Android settings.
- Battery Saver and Data Saver: Android restrictions on background activity can stop playback on any site.
These settings explain why other video and audio sites keep playing in Firefox while YouTube does not. On the desktop, Firefox offers a similar convenience with automatic picture-in-picture when you switch tabs.
What about the Video Background Play Fix add-on?
Video Background Play Fix is a Firefox add-on, covered by ghacks in 2018, that stops sites from seeing the visibilitychange and fullscreenchange events, so their players do not learn that the tab is hidden. Its listing on Mozilla's add-ons site shows version 1.8.1, last updated in November 2024, with support for YouTube and Vimeo.

We no longer recommend it as a fix for YouTube. Background play is a feature YouTube sells through Premium and Premium Lite, and an add-on that hides page state from YouTube's player works around that restriction, which can conflict with YouTube's Terms of Service. It can also stop working whenever YouTube changes its player. For YouTube, the supported path is the YouTube app with a Premium plan.
FAQ
Does YouTube Premium enable background play in Firefox or other mobile browsers?
No official option exists for that. Google states that background play only works in the YouTube mobile apps, so Premium members should open videos in the YouTube app.
Why does audio stop in Firefox private tabs but not in normal tabs?
Firefox for Android deliberately pauses media in private tabs when you minimize the browser. Normal tabs keep playing unless the site pauses the media itself.
Do YouTube Shorts play in the background with Premium?
No. Google's help center says background play is not available in the Shorts player.
Related: two tweaks that improve Firefox performance on YouTube, heavier ads in the YouTube mobile app, podcasts on YouTube Music
Of course the recent firefox update on android breaks the video background play fix. It’s also nearly impossible to find new plugins in the new Firefox on android Addon Manager (no search tool)
where can i find the background video play fix for firefox android?
how do I use the background play fix?
I use this modified version of YouTube app: https://forum.xda-developers.com/android/apps-games/app-iytbp-injected-youtube-background-t3560900
Its available for both rooted and non rooted devices. Also available as a Magisk module.
Thank you very much!
You just saved months / years of battery life for my daughter’s phone :)
hi can you tell me how did you get download to you phone?
Thanks for this addon.
In one month you recommended few programs, addons that I now can’t live without.
Thanks a lot ! This extension saves the music-listening experience on YT !