Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

destroy not working #159

Open
lyscarz opened this issue Aug 21, 2023 · 0 comments
Open

destroy not working #159

lyscarz opened this issue Aug 21, 2023 · 0 comments

Comments

@lyscarz
Copy link

lyscarz commented Aug 21, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant