> Btw, today you could do the same by playing back a 1x1 pixel video and it will probably drain the battery faster. Browsers like Chrome will keep the screen alive as long as there is a video playing within the visual viewport This is the [approach](https://github.com/richtr/NoSleep.js/blob/master/src/index.js#L37-L57) taken by the [popular](https://github.com/richtr/NoSleep.js/network/dependents?package_id=UGFja2FnZS0xNjEzNzg2MQ%3D%3D) library NoSleep.js. -- GitHub Notification of comment by tomayac Please view or discuss this issue at https://github.com/w3c/screen-wake-lock/issues/282#issuecomment-692538750 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-configReceived on Tuesday, 15 September 2020 07:57:39 UTC
This archive was generated by hypermail 2.4.0 : Monday, 4 July 2022 12:47:58 UTC