screen goes off and a black video plays continuously when someone share and open the link from the skype
- 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 )
@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.
Consider this a browser bug. And the screen is not off: it's playing the video in full-screen (immersive mode).