Custom plugin for Reveal.js to avoid screen going to sleep during active presentations
Simply include RevealCaffeine plugin and it will automatically activate on presentation start if Screen Wake Lock API is supported by the browser.
Reveal.initialize({
// ...
plugins: [
// ...,
RevealCaffeine,
],
});Important
The Wake Lock will be released when the presentation is paused or the tab is hidden.
You can configure the plugin with the following options:
// ...
plugins: [ /* ... */ ],
caffeine: {
}MIT
Made with ✨ & ❤️ by ForWarD Software and contributors