publiclab / infragram

A minimal core of the Infragram.org project in JavaScript
https://infragram.org/sandbox/
GNU General Public License v2.0
46 stars 165 forks source link

Add wake lock for some browsers in VR mode #67

Open jywarren opened 5 years ago

jywarren commented 5 years ago

https://whatwebcando.today/wake-lock.html

https://github.com/Fyrd/caniuse/issues/2623

https://developer.mozilla.org/en-US/docs/Archive/B2G_OS/API/Wake_Lock_API

jywarren commented 5 years ago

https://stackoverflow.com/questions/41810241/how-to-use-the-experimental-wake-lock-api-on-chrome-browser#42032512

jywarren commented 5 years ago

And ooooo a shim using a video... https://davidwalsh.name/wake-lock-shim

jywarren commented 5 years ago

https://developers.google.com/web/updates/2018/12/wakelock