So I'm watching a video talk in VLC on my Samsung I9305 rooted stock 4.4.4 with Xposed Framework, and I want to lock the screen and put the phone in my pocket, but still continue listening to the audio of the talk. Is it possible to do this with VLC, or do I have to switch to another media player?
4 Answers
It turns out this is actually a native function of VLC 1.7.4 (and probably previous versions too) for Android.
- Click the three horizontal lines in the top left corner (on the file selection screen, not while a video is playing).
- Click on "Preferences".
- Tick the "Play videos in background" box.
- Play a video.
- Lock the screen.
- Keep listening to the audio from that video!
-
1It seems you can't combine Picture-in-picture (aka Popup player) with the play in background, as for example Yoube Vanced does. It would be nice to be able to play the video in the popup player + keep the audio playing when locking the screen.– Coder14Jul 8, 2020 at 13:48
i have Huawei mate 9 and i have found one resolution which is Phone Battery is locking VLC player to run in back ground see attached screenshots which we have to enable.
-
Those options are specific to Huawei phones, so while they might be helpful to other Huawei customers, they won't help with the Samsung phone the question is about. Aug 1, 2018 at 9:06
-
@DanHulme Interestingly, shortly before this answer was posted, I switched to a Huawei Mate device. So this answer was almost like an update for my new device. Just funny.– FiksdalNov 27, 2018 at 12:25
I had the same problem on a Samsung Note 8, even with "Play videos in background" setting turned on. In the latest version of VLC (v3.3.4), the "Play videos in the background" option is a little different, it's actually "Background/PiP mode" with 3 options:
- Stop
- Play videos in background
- Play videos in Piciture-in-picture mode
The issue for me was the power saving setting, similar to THE PATHAN's answer for their Huawei Mate 9.
Here's how to fix it on a Samsung:
- Open Settings
- Open Apps
- Find and open VLC
- Click "Battery"
- Toggle "Allow background activity" to on
Without this setting, audio playback will be stopped about 30 seconds after locking the phone regardless of the "Background/PiP mode". However, with "Allow background activity" turned on, audio playback will continue even with the "Background/PiP mode" set to "Stop".
Would something like this work for you? YouTube player That is a YouTube player that plays after the screen is locked.
-
I already have this function for Youtube. I'm looking for the same function with VLC or another video player.– FiksdalDec 30, 2015 at 3:03
0
and cover the screen with an overlay in blocking mode. Also, disable all the navigational hardware buttons too when VLC is active. It can be done easily but do you want this mess?