Lock screen while playing YouTube video 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.
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