Keep sound from video playing in background I have some serious trouble with VLC player on my device, so I have started using KMPlayer.

The only thing I miss from VLC is the ability to continue listening to the sound from videos even while switching to other apps or locking the screen.

Is there any good way to do this, either by modifying the system to make KMPlayer or any player do it, or by using another app? 

Samsung I9305, rooted stock 4.4.4, Xposed Framework.
I personally use MX Player, and it does what you say very well. It has support for locked screen audio playback, background play of audio from videos, pop-up videos and others. Downside is that the free version is ad-supported. Also, it needs a plugin for DTS/AC3 audio.

The background play setting is not enabled by default, and has to be enabled by the user, however, the background playback of audio is enabled by default.

Click images to enlarge

The background play notification:



The background audio playback setting: