Skip to content

fuweichin/fullscreen-polyfill

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

fullscreen-polyfill

Embrace standard fullscreen API, bypass vendor-perfixed fullscreen API.

Polyfilled Contents

Properties

  • Document#fullscreenEnabled
  • Document#fullscreen
  • Document#fullscreenElement

Methods

  • Element#requestFullscreen()
  • Document#exitFullscreen()

Events

  • Document fullscreenchange
  • Document fullscreenerror
  • Document#onfullscreenchange
  • Document#onfullscreenerror

Tested Browsers

  • Internet Explorer 11
  • Edge 16
  • Chrome 66
  • Firefox 60

Known Limitations:

  1. For events fullscreenchange and fullscreenerror, properties of the event parameter in listener function are not reliable.

About

Web Fullscreen API polyfill

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published