+ 1
how to prevent screen turning off
i created page that's similar to interactive video - but i'm not able to prevent from sleep, so screen turns off... any idea without using video (or if anybody knows about using navigator.wakelock - i wasn't able to use it)
1 ответ
+ 1
U can try using libraries which implement native feature.
Library : nosleep.js