Screenfull.js - A Simple Wrapper For Cross-Browser Usage Of The JavaScript Fullscreen API

2012-05-07 10:16

Screenfull.js - A Simple Wrapper For Cross-Browser Usage Of The JavaScript Fullscreen API

by Hirvesh

at 2012-05-07 02:16:32

original http://feedproxy.google.com/~r/Functionn/~3/RN546Gy7Pqc/screenfulljs-simple-wrapper-for-cross.html

Screenfull.js is a simple wrapper for cross-browser usage of the JavaScript Fullscreen API, which lets you bring the page or any element into fullscreen. Smoothens out the browser implementation differences, so you don't have too.  It has a very tiny footprint, only 608 bytes gzipped (1380 bytes minified).

Browser Support

  • Chrome 15+
  • Firefox 10+
  • Safari 5.1+


Safari 5.1 doesn't support use of the keyboard in fullscreen.

Requirements: None
Demohttp://sindresorhus.com/screenfull.js/
License: MIT License