-
Notifications
You must be signed in to change notification settings - Fork 234
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Web support #17
Comments
If someone impatient like me, there is a workaround. I forked this repo and added web support which calling JS code in your index.html. On HTML side I used a tricky NoSleep library which adds Fork: https://github.com/aafanasev/wakelock |
@aafanasev Looks interesting. If you want to open a pull request, go ahead and do so. I would look a bit more into NoSleep then. Not sure if it is the best idea to add this workaround to the plugin, but we could deal with that then. It would require adding to the README etc. |
I don't think it's the best idea either. The number of "Not working" issues of NoSleep scaring me. I just wanted to show there is a possibility for whoever comes to this issue. Carefully look into the solution and if you're strongly sure I don't mind creating PR. |
Chrome recently released the Wake Lock API to stable: https://caniuse.com/#feat=wake-lock It's in there since Chrome 85 (released on August 25th, 2020) |
Web support should be added as soon as wakelock functionality is available for the web.
It is currently only an experimental feature, see https://web.dev/wakelock/.
The w3c specification can be found here.
The text was updated successfully, but these errors were encountered: