Document: fullscreenerror event

The fullscreenerror event is fired when the browser cannot switch to fullscreen mode. Two fullscreenerror events are fired; the first is sent to the Element which failed to change modes, and the second is sent to the Document which owns that element.

Bubbles Yes
Cancelable No
Interface Event
Event handler property onfullscreenerror


document.addEventListener("fullscreenerror", (event) => {
  console.log("Browser cannot switch to fullscreen mode.");


Specification Status
Fullscreen API Living Standard

Browser compatibility

No compatibility data found. Please contribute data for "api.Document.fullscreenerror_event" (depth: 1) to the MDN compatibility data repository.

See also

Document Tags and Contributors

Contributors to this page: irenesmith, mdnwebdocs-bot, Sheppy, fscholz, teoli, ethertank, louisremi
Last updated by: irenesmith,