EN
Este conteúdo não está disponível em seu idioma, mas aqui está a versão em inglês.

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 Internet Explorer for Windows 10 Technical Preview, the experimental "ms" prefix was removed from MSFullscreenError. The recommended usage is as follows:

IE VersionRecommended Usage
Prior to Internet Explorer 11not implemented
IE11MSFullscreenError
Internet Explorer for Windows 10 Technical Preview and beyondfullscreenError

 

For improved compatibility with legacy sites, webkitFullscreenError is also supported as an alias of fullscreenError in Internet Explorer for Windows 10 Technical Preview.

See also

document
fullscreenChange

 

 

Mostrar:
© 2015 Microsoft