+ 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)

1st Sep 2019, 3:27 PM
nicolas turek
nicolas turek - avatar
1 Odpowiedź
+ 1
U can try using libraries which implement native feature. Library : nosleep.js
6th Jul 2020, 6:48 AM
Vaibhav Tandon
Vaibhav Tandon - avatar