I am trying to get the "noSleep video running" dialog that appears on iPhone when I lock the screen after enabling noSleep. I tried destroy, after disable, but it's not working.
iPhone
14 pro max
Safari:
latest:
NoSleep.js lastest version:
Expected Behavior
Remove the video element completely from the DOM
Actual Behavior
Failing, console says function not available.
How Do We Reproduce?
Enable (from testpage) no sleep - lock the phone and see the video "paused" on the lockscreen.
I am trying to get the "noSleep video running" dialog that appears on iPhone when I lock the screen after enabling noSleep. I tried destroy, after disable, but it's not working.
Expected Behavior
Remove the video element completely from the DOM
Actual Behavior
Failing, console says function not available.
How Do We Reproduce?
Enable (from testpage) no sleep - lock the phone and see the video "paused" on the lockscreen.