tabcinema

Force "cinema" DOM elements to be fullscreen


Keywords
fullscreen, full, screen, maximize, video, cinema, tab, browser
License
ICU
Install
npm install tabcinema@1.0.3

Documentation

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