Open khaledtitu opened 1 year ago
@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).
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 )