Many smartphone users are faced with an annoying limitation of the popular video service: as soon as you lock the screen or minimize the application, the video immediately stops playing. This forces you to either keep the device turned on, using up battery power, or purchase a paid subscription YouTube Premium. However, there are legal and proven ways to bypass this limitation without spending a penny.
In this article, we will look in detail at various methods that allow you to listen to music or lectures in the background. We'll cover both built-in browser functionality and custom open source clients. It is important to understand that methods may vary in complexity of setup and stability of operation on different versions of the operating system Android.
Before moving on to installing third-party software, you should try the simplest solutions that do not require root access or complex configuration. Often the problem is solved by changing just one setting in the browser or using the picture-in-picture mode, which is available on many devices by default.
Using browser modes for background audio
The easiest and safest way to listen to videos without a picture is to use a mobile browser that supports the function Desktop Mode (PC mode). Popular browsers, such as Firefox, Chrome or Brave, allow you to deceive the YouTube website into thinking that you are logged in from a computer.
To do this, you need to open your browser, go to youtube.com and activate the “PC Version” item in the menu settings. After that, start any video. If the sound disappears when you minimize the browser, open the notification panel (curtain) and press the Play button there. In some cases, you need to additionally enable permission for background playback in the settings of the browser itself.
The browser deserves special attention Brave, which has built-in protection against trackers and advertising, as well as native support for background video playback. You don't need to switch modes, just go to the application settings and activate the item Background Video Playback. This solution is ideal for those who do not want to install unnecessary apps.
- 🌐 Firefox browser: Requires enabling PC mode and manual launch from the notification shade.
- 🦁 Browser brave data-i="49">Setting up the Picture-in-Picture (PiP) feature Has a built-in background function without unnecessary settings.
- 🔒 DuckDuckGo Browser: Supports background audio, but interface may vary.
Use Do Not Disturb mode when listening through a browser so that random notifications do not interrupt the audio stream or override the player controls in the curtain.
Setting up Picture-in-Picture (PiP)
The Picture-in-Picture feature allows you to shrink the video player to a small floating window that remains on top of other applications. Although this feature on YouTube is officially tied to a paid subscription in most regions, on some devices and versions Android it works for free.
To activate this feature, go to the system settings of your smartphone. Find the "Applications" or "Application Manager" section, select YouTube from the list and find the "Picture in Picture" option. Make sure that the switch Allow use is in the active position.
If system permission is enabled, but the function does not work, the problem may lie in the version of the YouTube application itself. Try installing an older version of the APK file where this feature has not yet been severely limited by the server, or use the modified clients discussed below. It also helps to clear the application cache before checking again.
⚠️ Attention: On devices with MIUI or EMUI skins, the PiP feature may be called “Floating Windows” and require additional permissions in the “Advanced Settings” section.
Installing alternative open source clients
The most effective solution for advanced users is to install third-party clients created by enthusiasts. These applications do not require Google Play services and often provide functionality superior to the official application, including video downloading and a complete lack of advertising.
One of the most popular and safe projects is NewPipe. This is a lightweight application that does not use the official YouTube APIs, but scrapes the site directly. It is completely free, does not require account registration and guarantees background playback out of the box. To install, you will need to download the APK file from the official repository F-Droid or GitHub.
Another powerful tool is the project LibreTubewhich uses an alternative Piped backend. This provides high loading speed and additional anonymity. The interface of such applications may differ from the usual one, but it is easy to get used to it after a couple of minutes of use.
Steps to install NewPipe:1. Go to Settings → Security.
2. Allow installation from unknown sources for your browser.
3. Download APK from newpipe.net.
4. Run the installer and confirm the action.
However, most of them allow you to import and export lists of subscriptions via files, solving the problem of data transfer.
- 📦 NewPipe: Maximum privacy, no advertising, light weight.
- 🚀 LibreTube: Modern design, support for Material You, fast streaming.
- 🎵 Grayjay: An aggregator that supports multiple platforms at the same time.
Where to look for safe APK files?
Always download applications only from official developer pages on GitHub or from the F-Droid store. Avoid third-party aggregator sites, as modified versions with malicious code are often distributed there.
Modified versions of the official application
For those who do not want to change the familiar interface of the official YouTube application, there are modified versions, such as YouTube ReVanced. This project is the successor to the closed YouTube Vanced and offers the same functionality: blocking ads, sponsorship inserts (SponsorBlock) and background unlocking.
The installation process ReVanced is a little more complicated than installing a regular APK. You will need to download the ReVanced manager, select the source application (usually the downloaded APK of the official YouTube from the APKMirror website) and apply the necessary patches to it. The manager will automatically create a new, modified application.
The key advantage of this method is the ability to log into your Google account without the risk of blocking (if micro-G or GmsCore is correctly configured). You get full access to your history, playlists and recommendations, but with the advanced features of the free plan.
| Features | Official app | NewPipe | YouTube ReVanced |
|---|---|---|---|
| Background playback | Premium only | Free | Free |
| Login to account | Yes | No | Yes (via GmsCore) |
| Block advertising | No | Yes | Yes |
| Installation complexity | Low | Medium | High |
⚠️ Attention: Installer interfaces and requirements for Android versions are constantly changing. Before you start installing ReVanced, be sure to check the latest instructions on the official Discord channel of the project or in their Wiki to avoid compatibility errors.
ReVanced is the best choice for those for whom it is critical to maintain the familiar interface and synchronization with a Google account without overpaying for a subscription.
Setting the equalizer and energy saving
Sometimes the problem with sound stopping in the background is not related to the application itself, but to aggressive system power saving settings Android. Smartphone manufacturers often “kill” background processes to save battery power, which interrupts audio playback.
To prevent this, you need to add the application you are using (browser or client) to the system exceptions list. Go to the battery settings, find the “Battery optimization” or “Autostart” item and select the “Unlimited” mode for the desired application. This will allow the process to work stably even when the screen is locked.
It is also worth checking the sound settings. Some shells have an "Absolute Volume" function or similar options in the "For Developers" menu. Disabling or enabling this feature may solve the problem of audio desync when switching between applications.
- 🔋 Disable adaptive battery for media applications.
- 🛡️ Lock the application in the recent tasks menu (lock icon).
- ⚙️ Check permissions to work in the background in the application settings.
Frequently asked questions and problem solving
Even if all instructions are followed, users may encounter nuances in the operation of various methods. Below are answers to the most popular questions that will help you troubleshoot problems and customize the system for yourself.
Is it safe to log into your Google account in third-party applications?
In open source applications, such as NewPipe, login to your account is technically not provided. In projects like ReVanced login is possible through special services (GmsCore), which is considered relatively safe, but always carries theoretical risks. For maximum security, it is recommended to use a separate, secondary account.
Why did the video stop working in the background after updating Android?
Operating system updates often change policies for managing background processes. After a major update Android you need to re-check application permissions, disable battery optimization, and possibly update the client application itself to a version compatible with the new OS.
Can Google block my account for using mods?
Cases of account blocking solely for using clients like ReVanced are extremely rare. However, Google is actively fighting ad blockers at the server level, which can lead to temporary playback errors or require updating patches in the application.
How to download music from YouTube legally for background?
The only completely legal way is to use the “Download” function in the official YouTube Music or YouTube Premium application. Third-party downloaders violate the terms of use of the service, although they are widespread among users.
⚠️ Attention: Using modified software is always at your own risk. Developers are not responsible for possible failures in the operation of Google services or loss of data.