Full Screen API
Full Screen API
API for allowing content (like a video or canvas element) to take up the entire screen.
Spec | https://fullscreen.spec.whatwg.org/ |
---|---|
Status | WHATWG Living Standard |
IE | Edge | Firefox | Chrome | Safari | Opera |
---|---|---|---|---|---|
57 (1,3,4,*) | 62 (2,3,*) | ||||
56 (1,3,4,*) | 61 (2,3,*) | TP (2,3,*) | 48 (2,3,*) | ||
16 (3) | 55 (1,3,4,*) | 60 (2,3,*) | 11 (2,3,*) | 47 (2,3,*) | |
11 (3,*) | 15 (3) | 54 (1,3,4,*) | 59 (2,3,*) | 10.1 (2,3,*) | 46 (2,3,*) |
10 | 14 (3) | 53 (1,3,4,*) | 58 (2,3,*) | 10 (2,3,*) | 45 (2,3,*) |
9 | 13 (3) | 52 (1,3,4,*) | 57 (2,3,*) | 9.1 (2,3,*) | 44 (2,3,*) |
8 | 12 (3) | 51 (1,3,4,*) | 56 (2,3,*) | 9 (2,3,*) | 43 (2,3,*) |
Show all | |||||
7 | 50 (1,3,4,*) | 55 (2,3,*) | 8 (2,3,*) | 42 (2,3,*) | |
6 | 49 (1,3,4,*) | 54 (2,3,*) | 7.1 (2,3,*) | 41 (2,3,*) | |
5.5 | 48 (1,3,4,*) | 53 (2,3,*) | 7 (2,3,*) | 40 (2,3,*) | |
47 (1,3,4,*) | 52 (2,3,*) | 6.1 (2,3,*) | 39 (2,3,*) | ||
46 (1,3,*) | 51 (2,3,*) | 6 (2,3,*) | 38 (2,3,*) | ||
45 (1,3,*) | 50 (2,3,*) | 5.1 (1,3,*) | 37 (2,3,*) | ||
44 (1,3,*) | 49 (2,3,*) | 5 | 36 (2,3,*) | ||
43 (1,3,*) | 48 (2,3,*) | 4 | 35 (2,3,*) | ||
42 (1,3,*) | 47 (2,3,*) | 3.2 | 34 (2,3,*) | ||
41 (1,3,*) | 46 (2,3,*) | 3.1 | 33 (2,3,*) | ||
40 (1,3,*) | 45 (2,3,*) | 32 (2,3,*) | |||
39 (1,3,*) | 44 (2,3,*) | 31 (2,3,*) | |||
38 (1,3,*) | 43 (2,3,*) | 30 (2,3,*) | |||
37 (1,3,*) | 42 (2,3,*) | 29 (2,3,*) | |||
36 (1,3,*) | 41 (2,3,*) | 28 (2,3,*) | |||
35 (1,3,*) | 40 (2,3,*) | 27 (2,3,*) | |||
34 (1,3,*) | 39 (2,3,*) | 26 (2,3,*) | |||
33 (1,3,*) | 38 (2,3,*) | 25 (2,3,*) | |||
32 (1,3,*) | 37 (2,3,*) | 24 (2,3,*) | |||
31 (1,3,*) | 36 (2,3,*) | 23 (2,3,*) | |||
30 (1,3,*) | 35 (2,3,*) | 22 (2,3,*) | |||
29 (1,3,*) | 34 (2,3,*) | 21 (2,3,*) | |||
28 (1,3,*) | 33 (2,3,*) | 20 (2,3,*) | |||
27 (1,3,*) | 32 (2,3,*) | 19 (2,3,*) | |||
26 (1,3,*) | 31 (2,3,*) | 18 (2,3,*) | |||
25 (1,3,*) | 30 (2,3,*) | 17 (2,3,*) | |||
24 (1,3,*) | 29 (2,3,*) | 16 (2,3,*) | |||
23 (1,3,*) | 28 (2,3,*) | 15 (2,3,*) | |||
22 (1,3,*) | 27 (2,3,*) | 12.1 | |||
21 (1,3,*) | 26 (2,3,*) | 12 | |||
20 (1,3,*) | 25 (2,3,*) | 11.6 | |||
19 (1,3,*) | 24 (2,3,*) | 11.5 | |||
18 (1,3,*) | 23 (2,3,*) | 11.1 | |||
17 (1,3,*) | 22 (2,3,*) | 11 | |||
16 (1,3,*) | 21 (2,3,*) | 10.6 | |||
15 (1,3,*) | 20 (2,3,*) | 10.5 | |||
14 (1,3,*) | 19 (1,3,*) | 10.0-10.1 | |||
13 (1,3,*) | 18 (1,3,*) | 9.5-9.6 | |||
12 (1,3,*) | 17 (1,3,*) | 9 | |||
11 (1,3,*) | 16 (1,3,*) | ||||
10 (1,3,*) | 15 (1,3,*) | ||||
9 | 14 | ||||
8 | 13 | ||||
7 | 12 | ||||
6 | 11 | ||||
5 | 10 | ||||
4 | 9 | ||||
3.6 | 8 | ||||
3.5 | 7 | ||||
3 | 6 | ||||
2 | 5 | ||||
4 |
iOS Safari | Opera Mini | Android Browser | Blackberry Browser | Opera Mobile | Android Chrome | Android Firefox | IE Mobile | Android UC Browser | Samsung Internet | QQ Browser | Baidu Browser |
---|---|---|---|---|---|---|---|---|---|---|---|
11 | |||||||||||
10.3 | all | 56 | 10 (2,*) | 37 (2,3,*) | 59 (2,3,*) | 54 (1,3,4,*) | 11 (3,*) | 11.4 (2,3,*) | 5 (2,3,*) | 1.2 (2,3,*) | 7.12 (2,3,*) |
10.0-10.2 | 4.4.3-4.4.4 | 7 | 12.1 | 10 | 4 (2,3,*) | ||||||
9.3 | 4.4 | 12 | |||||||||
9.0-9.2 | 4.2-4.3 | 11.5 | |||||||||
Show all | |||||||||||
8.1-8.4 | 4.1 | 11.1 | |||||||||
8 | 4 | 11 | |||||||||
7.0-7.1 | 3 | 10 | |||||||||
6.0-6.1 | 2.3 | ||||||||||
5.0-5.1 | 2.2 | ||||||||||
4.2-4.3 | 2.1 | ||||||||||
4.0-4.1 | |||||||||||
3.2 |
Notes
Partial support refers to supporting an earlier draft of the spec.
Partial support refers to not supporting
::backdrop
, and supporting the old:full-screen
syntax rather than the standard:fullscreen
.Partial support refers to not returning a Promise, as specified in the latest version of the spec.
Unprefixed support is available behind the
full-screen-api.unprefix.enabled
flag
- * Partial support with prefix.
Bugs
IE 11 doesn't allow going to fullscreen mode when the event that triggers
msRequestFullscreen()
is akeydown
orpointerdown
event (keypress
andclick
do work)Safari blocks access to keyboard events in fullscreen mode (as a security measure).
Safari doesn't support stacking, meaning only one element can be set to full screen.
webkitRequestFullScreen()
is ignored for other elements and no error event is dispatched.IE 11 does not allow scrolling when document.documentElement is set to full screen.
IE 11 does not properly support fullscreen when opening from an iframe.
Opera 12.1 uses the older specificaton's
:fullscreen-ancestor
pseudo-class instead of the the::backdrop
pseudo-element.
Resources
- Mozilla Developer Network (MDN) documentation - Using Full Screen
- Blog post
- Mozilla hacks article
- WebPlatform Docs
Data by caniuse.com
Licensed under the Creative Commons Attribution License v4.0.
http://caniuse.com/#feat=fullscreen