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

screen goes off and a black video plays continuously when someone share and open the link from the skype #149

Open
khaledtitu opened this issue Oct 7, 2022 · 2 comments

Comments

@khaledtitu
Copy link

  • Device Name: iPhone 12 pro max
  • Device Version:15.6.1
  • Browser Name: Skype default browser
  • Browser Version: don't know
  • NoSleep.js Version:12.0

Actual Behavior

The bug appears when someone opens the link from skype. When I open the demo link (https://richtr.github.io/NoSleep.js/example/) from skype. example: someone shares this demo link on skype and if you open it and clicks on "Wake Lock is disabled" button Screen goes off and a Black video plays

How Do We Reproduce?

-> Share The (https://richtr.github.io/NoSleep.js/example/) link to any other skype user
-> Click it and then click the button "Wake Lock is disabled"
-> Then you will find the bug (Screen goes off and a Black video plays continuously )

@jamieconnor-KOJO
Copy link

@khaledtitu I was finding that for in app browsing on iOS that the browser that was being used was Mozilla, which didn't support 'playsinline' or 'webkit-playsinline' for that matter.
My workaround was to check if the browser is recognisable, i.e. Chrome, Firefox, Safari, Opera or Edge, and only play the video if it was.

@MasterInQuestion
Copy link

    Consider this a browser bug.
    And the screen is not off: it's playing the video in full-screen (immersive mode).

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

3 participants