Video Fullscreen - screen timesout/sleeps


#1

When playing a video the screen goes to sleep and locks.

I have used the cordova-plugin-insomnia which prevents the app from sleeping except when video is fullscreen. When playing video fullscreen, the smartphone times out/sleeps.

I am looking to play a video in fullscreen without the screen timing out/sleeping the way on Intel XDK would do.

Many thanks (I have not found any posts on this topic.)