6

I have Samsung Galaxy S5. Is there a way to lock the screen but keep YouTube videos playing?

For example, a particular browser app or add-on that would allow for the audio to continue playing while the screen is off.

5
  • Download MX Player
  • Play YouTube video using MX Player.
  • Press Menu button (or the 3 dot icon), and then select Play
  • Make sure "Background Play" is checked
  • Now, you can press Home Button and listen in lock screen. There is also a shortcut for enabling Background Play, which is tapping and holding the Play button, instead of just tapping it to play a video

Update #1

Only For Rooted: You can install Xposed Modules Installer and use Repository called Youtube Background Play

2

A Touch Blocker app was the best option for me.

  • 2
    Welcome to Android Enthusiasts! Thank you for your contribution. Could you expand your answer by explaining how this app can help to solve the problem? – Andrew T. Mar 11 '15 at 2:11
2

The newest workaround doesn't require any new apps to be installed.

Follow these directions:

  1. Open Chrome browser.
  2. Navigate to the YouTube video you want to watch.
  3. Click the Chrome menu and select "Request Desktop Site".
  4. Play the video.
  5. Click the home button. The video will pause.
  6. Pull down the notification menu and play the video from there.
  7. You can now lock the screen.

This works without any fault as long as you keep the video playing. I played single videos for up to two hours without an issue. I noticed the following issues, which affect when I'll use this workaround:

  1. If you pause the video from the notification, you will be able to play it again, but not if you leave it paused for too long. I didn't time it, but the notification control disappears in less than 30 minutes. You'd have to then open Chrome again and replay the video. The same is true if you pause the video with a blue tooth control.

  2. If the video buffers because of a loss of connection, it will start again automatically, but only if it doesn't buffer for too long. Again, I did not time it, but I had issues after only a few minutes of lost connection, but that could have been related to item 3 below.

  3. Switching from wifi to data or data to wifi connection often created a buffer issue. It always seems to auto play after a few seconds when going from wifi to data, but not when going from data to wifi. Data to wifi would take longer and sometimes not autoplay at all. I think this is because when the phone establishes the wifi connection, there's a delay in the ping back that lets apps know that connection has been reestablished. I noticed multiple times that autoplay would work within seconds of unlocking the screen.

  4. After a video's end, autoplay doesn't always work. I found no pattern for when it would work.

  5. On long videos that you might listen to parts of over several days, in addition to having to start the video from Chrome again between every break longer than an hour, you may also have to scrub to the time where you left off. Multiple times, it seemed Chrome would decide to reload the tab, making the video reload to the beginning. It seems to be more reliable if I leave Chrome open (but in the background), but it still occasionally reloads the tab. If you're fast enough, you can read your time as you open the tab before it reloads, making this only a simple nuisance.

I've been listening to a lecture series in a playlist this last week and these are the issues I've noticed. In light of the trouble I've had, I think I'll just download the MP3 from now on, but I'll use this hack method if there's just a single video that piques my interest in the moment. In other words, I recommend that if you have the time and desire to listen to a playlist, it's just easier to go through the steps to download the MP3.

  • ^^ this. The "chosen" answer says to download a 3rd party app which seems to no longer stream you tube videos. – Hicsy Sep 16 '18 at 6:49

protected by Community Jun 20 '15 at 18:12

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged or ask your own question.