Skip to content

destroy not working #159

@lyscarz

Description

@lyscarz

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions