Using fullscreen mode

  • Revision slug: DOM/Using_full-screen_mode
  • Revision title: Using full-screen mode
  • Revision id: 302151
  • Created:
  • Creator: louisremi
  • Is current revision? No
  • Comment According to the spec and our implementation, the fullscreenchange event is always fired on the document, not on the element going fullscreen.

Revision Content

{{ SeeCompatTable() }}

The full-screen API provides an easy way for web content to be presented using the user's entire screen. This article provides information about using this API.

Note: This API is early in the standardization process. Although both Gecko and Google Chrome have implementations, they are not currently mutually-compatible, and neither implements the current draft of the specification. For that reason, at least in Firefox, it isn't enabled by default in Firefox 9, but is in Firefox 10. Because the specification is currently an extremely early draft, this documentation is subject to be entirely wrong, and is very preliminary. Once the specification has settled down a bit, the documentation will be cleaned up to be more browser-agnostic.

The API lets you easily direct the browser to make an element and its children, if any, occupy the full screen, eliminating all browser user interface and other applications from the screen for the duration.

Activating full-screen mode

Given an element that you'd like to present in full-screen mode (such as a {{ HTMLElement("video") }}, for example), you can present it in full-screen mode by simply calling its requestFullScreen() method; this method is implemented in Gecko as {{ domxref("element.mozRequestFullScreen()") }} and in WebKit as element.webkitRequestFullScreen().

Let's consider this {{ HTMLElement("video") }} element:

<video controls id="myvideo">
  <source src="somevideo.webm"></source>
  <source src="somevideo.mp4"></source>
</video>

We can put that video into full-screen mode with script like this:

var elem = document.getElementById("myvideo");
if (elem.requestFullScreen) {
  elem.requestFullScreen();
} else if (elem.mozRequestFullScreen) {
  elem.mozRequestFullScreen();
} else if (elem.webkitRequestFullScreen) {
  elem.webkitRequestFullScreen();
}

Presentation differences

It's worth noting a key difference here between the Gecko and WebKit implementations at this time: Gecko automatically adds CSS rules to the element to stretch it to fill the screen: "width: 100%; height: 100%". WebKit doesn't do this; instead, it centers the full-screen element at the same size in a screen that's othewise black. To get the same full-screen behavior in WebKit, you need to add your own "width: 100%; height: 100%;" CSS rules to the element yourself:

:-webkit-full-screen #myvideo {
  width: 100%;
  height: 100%;
}

On the other hand, if you're trying to emulate WebKit's behavior on Gecko, you need to place the element you want to present inside another element, which you'll make full-screen instead, and use CSS rules to adjust the inner element to match the appearance you want.

Notification

When full-screen mode is successfully engaged, the document which contains the document receives a {{ domevent("mozfullscreenchange") }} event. When full-screen mode is exited, the document again receives a  {{ domevent("mozfullscreenchange") }} event. Note that the {{ domevent("mozfullscreenchange") }} event doesn't provide any information itself as to whether the document is entering or exiting full-screen mode, but if the document has a non null {{ domxref("document.mozFullScreenElement", "mozFullScreenElement") }}, you know you're in full-screen mode.

When a full-screen request fails

It's not guaranteed that you'll be able to switch into full-screen mode. For example, {{ HTMLElement("iframe") }} elements have the {{ HTMLAttrXRef("mozallowfullscreen", "iframe") }} attribute ({{ HTMLAttrXRef("webkitallowfullscreen", "iframe") }}, et c) in order to opt-in to allowing their content to be displayed in full-screen mode. In addition, certain kinds of content, such as windowed plug-ins, cannot be presented in full-screen mode. Attempting to put an element which can't be displayed in full-screen mode (or the parent or descendant of such an element) won't work. Instead, the element which requested full-screen will receive a {{ domevent("mozfullscreenerror") }} event.

Getting out of full screen mode

The user always has the ability to exit full-screen mode of their own accord; see {{ anch("Things your users want to know") }}. You can also do so programmatically by calling the cancelFullScreen() method; this is implemented in Gecko as mozCancelFullScreen() and WebKit as webkitCancelFullScreen().

Other information

The {{ domxref("document") }} provides some additional information that can be useful when developing full-screen web applications:

{{ domxref("document.mozFullScreen", "fullScreen") }}
The fullScreen attribute tells you if the document is currently displaying an element in full-screen mode.
{{ domxref("document.mozFullScreenElement", "fullScreenElement") }}
The fullScreenElement attribute tells you the {{ domxref("element") }} that's currently being displayed full-screen. If this is non-null, the document is in full-screen mode. If this is null, the document is not in full-screen mode.
{{ domxref("document.mozFullScreenEnabled", "fullScreenEnabled") }}
The fullScreenEnabled attribute tells you whether or not the document is currently in a state that would allow full-screen mode to be requested.

Things your users want to know

You'll want to be sure to let your users know that they can press the ESC key (or F11) to exit full-screen mode.

Also, any alphanumeric keyboard input while in full-screen mode causes a warning message to appear; this is done to help guard against phishing attacks. The following keys are the only ones that don't cause this warning message to appear:

  • left arrow
  • right arrow
  • up arrow
  • down arrow
  • space
  • shift
  • control
  • alt
  • page up
  • page down
  • home
  • end
  • tab
  • meta

In addition, navigating to another page, changing tabs, or switching to another application (using, for example, Alt-Tab) while in full-screen mode exits full-screen mode as well.

Example

In this example, a video is presented in a web page. Pressing the Return or Enter key lets the user toggle between windowed and full-screen presentation of the video.

{{ DOMLiveSample("fullscreen.html") }}

Watching for the Enter key

When the page is loaded, this code is run to set up an event listener to watch for the 'enter' key.

document.addEventListener("keydown", function(e) {
  if (e.keyCode == 13) {
    toggleFullScreen();
  }
}, false);

Toggling full screen mode

This code is called when the user hits the Enter key, as seen above.

function toggleFullScreen() {
  if ((document.fullScreenElement && document.fullScreenElement !== null) ||    // alternative standard method
      (!document.mozFullScreen && !document.webkitIsFullScreen)) {               // current working methods
    if (document.documentElement.requestFullScreen) {
      document.documentElement.requestFullScreen();
    } else if (document.documentElement.mozRequestFullScreen) {
      document.documentElement.mozRequestFullScreen();
    } else if (document.documentElement.webkitRequestFullScreen) {
      document.documentElement.webkitRequestFullScreen(Element.ALLOW_KEYBOARD_INPUT);
    }
  } else {
    if (document.cancelFullScreen) {
      document.cancelFullScreen();
    } else if (document.mozCancelFullScreen) {
      document.mozCancelFullScreen();
    } else if (document.webkitCancelFullScreen) {
      document.webkitCancelFullScreen();
    }
  }
}

This starts by looking at the value of the fullScreen attribute on the {{ domxref("document") }} (checking it prefixed with both -moz- and -webkit-). If it's false, the document is currently in windowed mode, so we need to switch to full-screen mode. The spec draft has a different  fullScreenElement method to check whether or not an element is in full-screen mode, if it's  null then we are in windowed mode. Both gecko and webkit have implemented a the non-standard  fullScreen  method so far. Switching to full-screen mode is done by calling either {{ domxref("element.mozRequestFullScreen()") }} or webkitRequestFullScreen(), depending on which is available.

If full screen mode is already active, we call {{ domxref("document.mozCancelFullScreen()") }} or webkitCancelFullScreen(), again depending on which browser is in use.

Browser compatibility

Although both Gecko and WebKit implement a draft of this API, there are some subtle differences. This document doesn't necessarily try to call them all into focus. The article will be revised as the spec and implementations fall closer into alignment with one another.

{{ CompatibilityTable() }}

Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari
Basic support 15 {{ property_prefix("-webkit") }} {{ CompatGeckoDesktop("9.0") }} {{ property_prefix("-moz") }} {{ CompatUnknown() }} {{ CompatUnknown() }} 5.0 {{ property_prefix("-webkit") }}
fullScreenEnabled 20 {{ property_prefix("-webkit") }} {{ CompatGeckoDesktop("10.0") }} {{ property_prefix("-moz") }} {{ CompatUnknown() }} {{ CompatUnknown() }} 5.1 {{ property_prefix("-webkit") }}
Feature Android Firefox Mobile (Gecko) IE Mobile Opera Mobile Safari Mobile
Basic support {{ CompatUnknown() }} {{ CompatGeckoMobile("9.0") }}{{ property_prefix("-moz") }} {{ CompatUnknown() }} {{ CompatUnknown() }} {{ CompatUnknown() }}
fullScreenEnabled {{ CompatUnknown() }} {{ CompatGeckoMobile("10.0") }} {{ property_prefix("moz") }} {{ CompatUnknown() }} {{ CompatUnknown() }} {{ CompatUnknown() }}

Gecko notes

Although this API was introduced in Gecko 9.0 {{ geckoRelease("9.0") }}, it's not enabled by default in that release. To enable it, set the full-screen-api.enabled preference to true. The API is enabled by default in Gecko 10.0 {{ geckoRelease("10.0") }}.

Specification

Fullscreen API

Non-standard methods

These are some of the methods that browsers implemented before the standard was drafted. Having the standard methods described above it's better to avoid using the following ones:

  • window.fullScreen (Firefox)
  • HTMLMediaElement.webkitDisplayingFullscreen
  • HTMLMediaElement.webkitEnterFullscreen
  • HTMLMediaElement.webkitExitFullscreen
  • HTMLMediaElement.webkitSupportsFullscreen

See also

  • {{ domxref("element.mozRequestFullScreen()") }}
  • {{ domxref("element.mozCancelFullScreen()") }}
  • {{ domxref("document.mozFullScreen") }}
  • {{ domxref("document.mozFullScreenElement") }}
  • {{ domxref("document.mozFullScreenEnabled") }}
  • {{ cssxref(":-moz-full-screen") }}
  • {{ cssxref(":-moz-full-screen-ancestor") }}
  • {{ HTMLAttrXRef("mozallowfullscreen", "iframe") }}

{{ languages( { "ja": "ja/DOM/Using_full-screen_mode"} ) }}

Revision Source

<p>{{ SeeCompatTable() }}</p>
<p>The full-screen API provides an easy way for web content to be presented using the user's entire screen. This article provides information about using this API.</p>
<div class="note">
  <strong>Note:</strong> This API is early in the standardization process. Although both Gecko and Google Chrome have implementations, they are not currently mutually-compatible, and neither implements the current draft of the specification. For that reason, at <a href="/en/DOM/Using_full-screen_mode#Gecko_notes" title="en/DOM/Using_full-screen_mode#Gecko_notes">least in Firefox</a>, it isn't enabled by default in Firefox 9, but is in Firefox 10. Because the <a class="external" href="http://dvcs.w3.org/hg/fullscreen/raw-file/tip/Overview.html" title="http://dvcs.w3.org/hg/fullscreen/raw-file/tip/Overview.html">specification</a> is currently an extremely early draft, this documentation is subject to be entirely wrong, and is very preliminary. Once the specification has settled down a bit, the documentation will be cleaned up to be more browser-agnostic.</div>
<p>The API lets you easily direct the browser to make an element and its children, if any, occupy the full screen, eliminating all browser user interface and other applications from the screen for the duration.</p>
<h2 id="Specification" name="Specification">Activating full-screen mode</h2>
<p>Given an element that you'd like to present in full-screen mode (such as a {{ HTMLElement("video") }}, for example), you can present it in full-screen mode by simply calling its <code>requestFullScreen()</code> method; this method is implemented in Gecko as {{ domxref("element.mozRequestFullScreen()") }} and in WebKit as <code>element.webkitRequestFullScreen()</code>.</p>
<p>Let's consider this {{ HTMLElement("video") }} element:</p>
<pre class="brush: html">
&lt;video controls id="myvideo"&gt;
&nbsp; &lt;source src="somevideo.webm"&gt;&lt;/source&gt;
&nbsp; &lt;source src="somevideo.mp4"&gt;&lt;/source&gt;
&lt;/video&gt;
</pre>
<p>We can put that video into full-screen mode with script like this:</p>
<pre class="brush: js">
var elem = document.getElementById("myvideo");
if (elem.requestFullScreen) {
  elem.requestFullScreen();
} else if (elem.mozRequestFullScreen) {
&nbsp; elem.mozRequestFullScreen();
} else if (elem.webkitRequestFullScreen) {
&nbsp; elem.webkitRequestFullScreen();
}
</pre>
<h3 id="Presentation_differences">Presentation differences</h3>
<p>It's worth noting a key difference here between the Gecko and WebKit implementations at this time: Gecko automatically adds CSS rules to the element to stretch it to fill the screen: "<code>width: 100%; height: 100%</code>". WebKit doesn't do this; instead, it centers the full-screen element at the same size in a screen that's othewise black. To get the same full-screen behavior in WebKit, you need to add your own "<code>width: 100%; height: 100%;</code>" CSS rules to the element yourself:</p>
<pre class="brush: css">
:-webkit-full-screen #myvideo {
&nbsp; width: 100%;
&nbsp; height: 100%;
}
</pre>
<p>On the other hand, if you're trying to emulate WebKit's behavior on Gecko, you need to place the element you want to present inside another element, which you'll make full-screen instead, and use CSS rules to adjust the inner element to match the appearance you want.</p>
<h3 id="Notification">Notification</h3>
<p>When full-screen mode is successfully engaged, the document which contains the document receives a {{ domevent("mozfullscreenchange") }} event. When full-screen mode is exited, the document again receives a&nbsp; {{ domevent("mozfullscreenchange") }} event. Note that the {{ domevent("mozfullscreenchange") }} event doesn't provide any information itself as to whether the document is entering or exiting full-screen mode, but if the document has a non null {{ domxref("document.mozFullScreenElement", "mozFullScreenElement") }}, you know you're in full-screen mode.</p>
<h3 id="When_a_full-screen_request_fails">When a full-screen request fails</h3>
<p>It's not guaranteed that you'll be able to switch into full-screen mode. For example, {{ HTMLElement("iframe") }} elements have the {{ HTMLAttrXRef("mozallowfullscreen", "iframe") }} attribute ({{ HTMLAttrXRef("webkitallowfullscreen", "iframe") }}, et c) in order to opt-in to allowing their content to be displayed in full-screen mode. In addition, certain kinds of content, such as windowed plug-ins, cannot be presented in full-screen mode. Attempting to put an element which can't be displayed in full-screen mode (or the parent or descendant of such an element) won't work. Instead, the element which requested full-screen will receive a {{ domevent("mozfullscreenerror") }} event.</p>
<h2 id="Getting_out_of_full_screen_mode">Getting out of full screen mode</h2>
<p>The user always has the ability to exit full-screen mode of their own accord; see {{ anch("Things your users want to know") }}. You can also do so programmatically by calling the <code>cancelFullScreen()</code> method; this is implemented in Gecko as <a href="/en/DOM/document.mozCancelFullScreen" title="document.mozCancelFullScreen"><code>mozCancelFullScreen()</code></a> and WebKit as <code>webkitCancelFullScreen()</code>.</p>
<h2 id="Other_information">Other information</h2>
<p>The {{ domxref("document") }} provides some additional information that can be useful when developing full-screen web applications:</p>
<dl>
  <dt>
    {{ domxref("document.mozFullScreen", "fullScreen") }}</dt>
  <dd>
    The <code>fullScreen</code> attribute tells you if the document is currently displaying an element in full-screen mode.</dd>
  <dt>
    {{ domxref("document.mozFullScreenElement", "fullScreenElement") }}</dt>
  <dd>
    The <code>fullScreenElement</code> attribute tells you the {{ domxref("element") }} that's currently being displayed full-screen. If this is non-null, the document is in full-screen mode. If this is null, the document is not in full-screen mode.</dd>
  <dt>
    {{ domxref("document.mozFullScreenEnabled", "fullScreenEnabled") }}</dt>
  <dd>
    The <code>fullScreenEnabled</code> attribute tells you whether or not the document is currently in a state that would allow full-screen mode to be requested.</dd>
</dl>
<h2 id="Specification" name="Specification">Things your users want to know</h2>
<p>You'll want to be sure to let your users know that they can press the ESC key (or F11) to exit full-screen mode.</p>
<p>Also, any alphanumeric keyboard input while in full-screen mode causes a warning message to appear; this is done to help guard against phishing attacks. The following keys are the only ones that don't cause this warning message to appear:</p>
<div>
  <div class="threecolumns" style="undefined">
    <ul>
      <li>left arrow</li>
      <li>right arrow</li>
      <li>up arrow</li>
      <li>down arrow</li>
      <li>space</li>
      <li>shift</li>
      <li>control</li>
      <li>alt</li>
      <li>page up</li>
      <li>page down</li>
      <li>home</li>
      <li>end</li>
      <li>tab</li>
      <li>meta</li>
    </ul>
  </div>
</div>
<p>In addition, navigating to another page, changing tabs, or switching to another application (using, for example, Alt-Tab) while in full-screen mode exits full-screen mode as well.</p>
<h2 id="Specification" name="Specification">Example</h2>
<p>In this example, a video is presented in a web page. Pressing the Return or Enter key lets the user toggle between windowed and full-screen presentation of the video.</p>
<p>{{ DOMLiveSample("fullscreen.html") }}</p>
<h3 id="Watching_for_the_Enter_key">Watching for the Enter key</h3>
<p>When the page is loaded, this code is run to set up an event listener to watch for the 'enter' key.</p>
<pre class="brush: js">
document.addEventListener("keydown", function(e) {
&nbsp; if (e.keyCode == 13) {
&nbsp;&nbsp;&nbsp; toggleFullScreen();
&nbsp; }
}, false);
</pre>
<h3 id="Toggling_full_screen_mode">Toggling full screen mode</h3>
<p>This code is called when the user hits the Enter key, as seen above.</p>
<pre class="brush: js">
function toggleFullScreen() {
&nbsp; if ((document.fullScreenElement &amp;&amp; document.fullScreenElement !== null) ||    // alternative standard method
&nbsp;     (!document.mozFullScreen &amp;&amp; !document.webkitIsFullScreen)) {               // current working methods
&nbsp;&nbsp;&nbsp; if (document.documentElement.requestFullScreen) {
    &nbsp; document.documentElement.requestFullScreen();
    } else if (document.documentElement.mozRequestFullScreen) {
&nbsp;     document.documentElement.mozRequestFullScreen();
    } else if (document.documentElement.webkitRequestFullScreen) {
&nbsp;     document.documentElement.webkitRequestFullScreen(Element.ALLOW_KEYBOARD_INPUT);
    }
&nbsp; } else {
&nbsp;   if (document.cancelFullScreen) {
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; document.cancelFullScreen();
&nbsp;&nbsp;&nbsp; } else if (document.mozCancelFullScreen) {
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; document.mozCancelFullScreen();
&nbsp;&nbsp;&nbsp; } else if (document.webkitCancelFullScreen) {
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; document.webkitCancelFullScreen();
&nbsp;&nbsp;&nbsp; }
&nbsp; }
}
</pre>
<p>This starts by looking at the value of the <code>fullScreen</code> attribute on the {{ domxref("document") }} (checking it prefixed with both <code>-moz-</code> and <code>-webkit-</code>). If it's <code>false</code>, the document is currently in windowed mode, so we need to switch to full-screen mode. The spec draft has a different&nbsp;&nbsp;<code>fullScreenElement</code>&nbsp;method to check whether or not an element is in full-screen mode, if it's&nbsp;&nbsp;<code>null</code>&nbsp;then we are in windowed mode. Both gecko and webkit have implemented a the non-standard&nbsp;&nbsp;<code>fullScreen</code>&nbsp;&nbsp;method so far. Switching to full-screen mode is done by calling either {{ domxref("element.mozRequestFullScreen()") }} or <code>webkitRequestFullScreen()</code>, depending on which is available.</p>
<p>If full screen mode is already active, we call {{ domxref("document.mozCancelFullScreen()") }} or <code>webkitCancelFullScreen()</code>, again depending on which browser is in use.</p>
<h2 id="Specification" name="Specification">Browser compatibility</h2>
<p>Although both Gecko and WebKit implement a draft of this API, there are some subtle differences. This document doesn't necessarily try to call them all into focus. The article will be revised as the spec and implementations fall closer into alignment with one another.</p>
<p>{{ CompatibilityTable() }}</p>
<div id="compat-desktop">
  <table class="compat-table">
    <tbody>
      <tr>
        <th>Feature</th>
        <th>Chrome</th>
        <th>Firefox (Gecko)</th>
        <th>Internet Explorer</th>
        <th>Opera</th>
        <th>Safari</th>
      </tr>
      <tr>
        <td>Basic support</td>
        <td>15&nbsp;{{ property_prefix("-webkit") }}</td>
        <td>{{ CompatGeckoDesktop("9.0") }} {{ property_prefix("-moz") }}</td>
        <td>{{ CompatUnknown() }}</td>
        <td>{{ CompatUnknown() }}</td>
        <td>5.0 {{ property_prefix("-webkit") }}</td>
      </tr>
      <tr>
        <td><code>fullScreenEnabled</code></td>
        <td>20 {{ property_prefix("-webkit") }}</td>
        <td>{{ CompatGeckoDesktop("10.0") }} {{ property_prefix("-moz") }}</td>
        <td>{{ CompatUnknown() }}</td>
        <td>{{ CompatUnknown() }}</td>
        <td>5.1 {{ property_prefix("-webkit") }}</td>
      </tr>
    </tbody>
  </table>
</div>
<div id="compat-mobile">
  <table class="compat-table">
    <tbody>
      <tr>
        <th>Feature</th>
        <th>Android</th>
        <th>Firefox Mobile (Gecko)</th>
        <th>IE Mobile</th>
        <th>Opera Mobile</th>
        <th>Safari Mobile</th>
      </tr>
      <tr>
        <td>Basic support</td>
        <td>{{ CompatUnknown() }}</td>
        <td>{{ CompatGeckoMobile("9.0") }}{{ property_prefix("-moz") }}</td>
        <td>{{ CompatUnknown() }}</td>
        <td>{{ CompatUnknown() }}</td>
        <td>{{ CompatUnknown() }}</td>
      </tr>
      <tr>
        <td><code>fullScreenEnabled</code></td>
        <td>{{ CompatUnknown() }}</td>
        <td>{{ CompatGeckoMobile("10.0") }} {{ property_prefix("moz") }}</td>
        <td>{{ CompatUnknown() }}</td>
        <td>{{ CompatUnknown() }}</td>
        <td>{{ CompatUnknown() }}</td>
      </tr>
    </tbody>
  </table>
</div>
<h3 id="Gecko_notes">Gecko notes</h3>
<p>Although this API was introduced in Gecko 9.0 {{ geckoRelease("9.0") }}, it's not enabled by default in that release. To enable it, set the <code>full-screen-api.enabled</code> preference to <code>true</code>. The API is enabled by default in Gecko 10.0 {{ geckoRelease("10.0") }}.</p>
<h2 id="Specification" name="Specification">Specification</h2>
<p><a class="external" href="http://dvcs.w3.org/hg/fullscreen/raw-file/tip/Overview.html#api" title="http://dvcs.w3.org/hg/fullscreen/raw-file/tip/Overview.html#api">Fullscreen API</a></p>
<h2 id="Non-standard_methods">Non-standard methods</h2>
<p>These are some of the methods that browsers implemented before the standard was drafted. Having the standard methods described above it's better to avoid using the following ones:</p>
<ul>
  <li><code>window.fullScreen</code> (Firefox)</li>
  <li><code>HTMLMediaElement.webkitDisplayingFullscreen</code></li>
  <li><code>HTMLMediaElement.webkitEnterFullscreen</code></li>
  <li><code>HTMLMediaElement.webkitExitFullscreen</code></li>
  <li><code>HTMLMediaElement.webkitSupportsFullscreen</code></li>
</ul>
<h2 id="See_also">See also</h2>
<ul>
  <li>{{ domxref("element.mozRequestFullScreen()") }}</li>
  <li>{{ domxref("element.mozCancelFullScreen()") }}</li>
  <li>{{ domxref("document.mozFullScreen") }}</li>
  <li>{{ domxref("document.mozFullScreenElement") }}</li>
  <li>{{ domxref("document.mozFullScreenEnabled") }}</li>
  <li>{{ cssxref(":-moz-full-screen") }}</li>
  <li>{{ cssxref(":-moz-full-screen-ancestor") }}</li>
  <li>{{ HTMLAttrXRef("mozallowfullscreen", "iframe") }}</li>
</ul>
<ul>
  <li><a class="external" href="http://blog.pearce.org.nz/2011/11/firefoxs-html-full-screen-api-enabled.html" title="http://blog.pearce.org.nz/2011/11/firefoxs-html-full-screen-api-enabled.html">Blog post: Firefox's HTML full-screen API enabled in Nightly builds</a></li>
</ul>
<p>{{ languages( { "ja": "ja/DOM/Using_full-screen_mode"} ) }}</p>
Revert to this revision