How to disable the playback of video files when you exit the Android application

I have a problem running an android app in the background. This is an application platform based cordova.

It has YouTube videos, and Google does not allow playing in the background, which means that if you leave the application with the home button during video playback, the application will not stop playing, i.e. the music will continue.

Qaru already has a similar problem, but I can not comment on it, and it does not work for me. I tried keeprunning = false, but it's not with Cordova.

+4
source share

All Articles