tabcinema
v1.0.3
Published
Force "cinema" DOM elements to be fullscreen
Downloads
95
Maintainers
Readme
TabCinema
Force a video or presentation to show in cinema mode
This is a fork of this chrome extension, rebundled into a reusable node module
Install
npm install --save tabcinema
Usage
const TabCinema = require('tabcinema');
If you use this module, you should use browserify to bundle it into a script to include in your website (or browser extension).
Toggle fullscreen mode:
TabCinema.toggle();
Set fullscreen mode:
TabCinema.setFullscreen(true);