2

We have the following problem:

We're developing a browser-based flash application for video calls. The problem with that application is that when you are talking with somebody the display of your PC/Mac starts to fade out and a couple of minutes later the screensaver appears (if such is present).

How to keep the page active, so that the PC/Mac does not enter in screensaver mode?

This should be done, using JavaScript only, because the flash-part of the application is a JavaScript based API and we do NOT have access to the flash directly.

Any ideas?

EDIT: can I put a small and invisible flash APP on that page that keeps the machine from sleeping?

1 Answers1

0

You can use NoSleep.js https://github.com/richtr/NoSleep.js

Prevent display sleep and enable wake lock in all Android and iOS web browsers.

chuck
  • 31
  • 5