1.0.3 • Published 6 years ago

tabcinema v1.0.3

Weekly downloads
19
License
SEE LICENSE IN LI...
Repository
github
Last release
6 years ago

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);