People using audioplayers package cannot get a wakelock on android to continue playing music, soon as screen turns off or app is backgrounded.
The flutter package https://pub.dev/packages/wakelock_plus seems to solve this issue, the video player would need it as well. Modifications would be needed to AndroidManifest.xml to add the permission.
I believe it would need a partial wakelock for audio, and full wakelock for video.
People using audioplayers package cannot get a wakelock on android to continue playing music, soon as screen turns off or app is backgrounded.
The flutter package https://pub.dev/packages/wakelock_plus seems to solve this issue, the video player would need it as well. Modifications would be needed to AndroidManifest.xml to add the permission.
I believe it would need a partial wakelock for audio, and full wakelock for video.