4

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?

2
  • Definitely possible but depends upon on what length you would go to keep VLC as the choice of player here. Example, you can put the brightness to 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?
    – Firelord
    Commented Dec 30, 2015 at 0:29
  • @ Firelord It turns out this is actually a native function of VLC for Android! It's very easy, I have answered my own question.
    – Fiksdal
    Commented Jan 2, 2016 at 6:17

4 Answers 4

10

It turns out this is actually a native function of VLC 1.7.4 (and probably previous versions too) for Android.

  1. Click the three horizontal lines in the top left corner (on the file selection screen, not while a video is playing).
  2. Click on "Preferences".
  3. Tick the "Play videos in background" box.
  4. Play a video.
  5. Lock the screen.
  6. Keep listening to the audio from that video!
1
  • 1
    It 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.
    – Coder14
    Commented Jul 8, 2020 at 13:48
3

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.

enter image description here enter image description here enter image description here

2
  • 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.
    – Dan Hulme
    Commented 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.
    – Fiksdal
    Commented Nov 27, 2018 at 12:25
1

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".

-1

Would something like this work for you? YouTube player That is a YouTube player that plays after the screen is locked.

1
  • I already have this function for Youtube. I'm looking for the same function with VLC or another video player.
    – Fiksdal
    Commented Dec 30, 2015 at 3:03

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .