mozilla
Your Search Results

    Element.requestFullscreen()

    This article is in need of a technical review.

    This is an experimental technology
    Because this technology's specification has not stabilized, check the compatibility table for the proper prefixes to use in various browsers. Also note that the syntax and behavior of an experimental technology is subject to change in future versions of browsers as the spec changes.

    Asynchronously requests that the element be made full-screen.

    Syntax

    element.mozRequestFullScreen();
    

    Notes

    It's not guaranteed that the element will be put into full-screen mode. If permission to enter full-screen mode is granted, the document will receive a "mozfullscreenchange" event to let it know that it's now in full screen mode. If permission is denied, the document receives a "mozfullscreenerror" event instead.

    See Using full-screen mode for details and examples.

    Browser compatibility

    Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari
    Basic support ? 9.0 (9.0) as mozRequestFullScreen ? ? ?
    Feature Android Firefox Mobile (Gecko) IE Mobile Opera Mobile Safari Mobile
    Basic support ? 9.0 (9.0) ? ? ?

    Specification

    Fullscreen API

    See also

    Document Tags and Contributors

    Last updated by: fscholz,
    Hide Sidebar