+ 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 Resposta
+ 1
U can try using libraries which implement native feature. Library : nosleep.js
6th Jul 2020, 6:48 AM
Vaibhav Tandon
Vaibhav Tandon - avatar
Quente hoje
.
1 Votes
What?
0 Votes
HTML
0 Votes
Web
0 Votes
FRC Coding?
1 Votes
Quiz duel
0 Votes
AI
2 Votes
help
0 Votes
APIs
1 Votes