Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
fullscreenError

fullscreenError | fullscreenError event

Fires when an element can't be displayed in full-screen mode.

Syntax

 

Event handler parameters

This method has no parameters.

Remarks

This example prints a console message stating that an error has occurred.

document.addEventListener("fullscreenError", function () {
    console.error("A fullscreen request error has occurred");
});

As of Microsoft Edge, the experimental "ms" prefix was removed from MSFullscreenError. The recommended usage is as follows:

IE VersionRecommended Usage
Prior to Internet Explorer 11not implemented
IE11MSFullscreenError
Microsoft Edge and beyondfullscreenError

 

For improved compatibility with legacy sites, webkitFullscreenError is also supported as an alias of fullscreenError in Microsoft Edge.

See also

document
fullscreenChange

 

 

Show:
© 2015 Microsoft