- From: Thomas Steiner via GitHub <sysbot+gh@w3.org>
- Date: Tue, 15 Sep 2020 07:57:38 +0000
- To: public-device-apis-log@w3.org
> 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-config
Received on Tuesday, 15 September 2020 07:57:39 UTC