You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
Currently the screen can turn off and the computer suspend during a Advanced Slides presentation, which is problematic.
Describe the solution you'd like
It seems easy enough to utilize the Screen Wake Lock API:
// Create a reference for the Wake Lock.letwakeLock=null;// create an async function to request a wake locktry{wakeLock=awaitnavigator.wakeLock.request("screen");statusElem.textContent="Wake Lock is active!";}catch(err){// The Wake Lock request has failed - usually system related, such as battery.statusElem.textContent=`${err.name}, ${err.message}`;}
Describe alternatives you've considered
The computer can be set to disable suspend, but that's a cumbersome solution.
Additional context Secure context is required, but apparently localhost qualifies:
Is your feature request related to a problem? Please describe.
Currently the screen can turn off and the computer suspend during a Advanced Slides presentation, which is problematic.
Describe the solution you'd like
It seems easy enough to utilize the Screen Wake Lock API:
Describe alternatives you've considered
The computer can be set to disable suspend, but that's a cumbersome solution.
Additional context
Secure context is required, but apparently localhost qualifies:
The text was updated successfully, but these errors were encountered: