JSPM

tabcinema

1.0.3
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • 0
  • Score
    100M100P100Q27091F
  • License SEE LICENSE IN LICENSE

Force "cinema" DOM elements to be fullscreen

Package Exports

  • tabcinema

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (tabcinema) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

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