Gets the element currently displayed in fullscreen mode, if any.
Uses the standard document.fullscreenElement and falls back to vendor-prefixed versions for Safari, IE11, and Firefox.
document.fullscreenElement
The fullscreen element, or undefined when the document is not in fullscreen
Gets the element currently displayed in fullscreen mode, if any.
Uses the standard
document.fullscreenElementand falls back to vendor-prefixed versions for Safari, IE11, and Firefox.