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
      98    
    95 97    
    94 96 TP (2,3,*)  
11 (3,*) 95 93 95 15 (2,3,*) 80
10 94 92 94 14.1 (2,3,*) 79
9 93 91 93 14 (2,3,*) 78
8 92 90 92 13.1 (2,3,*) 77
Show all
7 91 89 91 13 (2,3,*) 76
6 90 88 90 12.1 (2,3,*) 75
5.5 89 87 89 12 (2,3,*) 74
  88 86 88 11.1 (2,3,*) 73
  87 85 87 11 (2,3,*) 72
  86 84 86 10.1 (2,3,*) 71
  85 83 85 10 (2,3,*) 70
  84 82 84 9.1 (2,3,*) 69
  83 81 83 9 (2,3,*) 68
  81 80 81 8 (2,3,*) 67
  80 79 80 7.1 (2,3,*) 66
  79 78 79 7 (2,3,*) 65
  18 (3) 77 78 6.1 (2,3,*) 64
  17 (3) 76 77 6 (2,3,*) 63 (2,3,*)
  16 (3) 75 76 5.1 (1,3,*) 62 (2,3,*)
  15 (3) 74 75 5 60 (2,3,*)
  14 (3) 73 74 4 58 (2,3,*)
  13 (3) 72 73 3.2 57 (2,3,*)
  12 (3) 71 72 3.1 56 (2,3,*)
    70 71   55 (2,3,*)
    69 70 (2,3,*)   54 (2,3,*)
    68 69 (2,3,*)   53 (2,3,*)
    67 68 (2,3,*)   52 (2,3,*)
    66 67 (2,3,*)   51 (2,3,*)
    65 66 (2,3,*)   50 (2,3,*)
    64 65 (2,3,*)   49 (2,3,*)
    63 (1,3,4,*) 64 (2,3,*)   48 (2,3,*)
    62 (1,3,4,*) 63 (2,3,*)   47 (2,3,*)
    61 (1,3,4,*) 62 (2,3,*)   46 (2,3,*)
    60 (1,3,4,*) 61 (2,3,*)   45 (2,3,*)
    59 (1,3,4,*) 60 (2,3,*)   44 (2,3,*)
    58 (1,3,4,*) 59 (2,3,*)   43 (2,3,*)
    57 (1,3,4,*) 58 (2,3,*)   42 (2,3,*)
    56 (1,3,4,*) 57 (2,3,*)   41 (2,3,*)
    55 (1,3,4,*) 56 (2,3,*)   40 (2,3,*)
    54 (1,3,4,*) 55 (2,3,*)   39 (2,3,*)
    53 (1,3,4,*) 54 (2,3,*)   38 (2,3,*)
    52 (1,3,4,*) 53 (2,3,*)   37 (2,3,*)
    51 (1,3,4,*) 52 (2,3,*)   36 (2,3,*)
    50 (1,3,4,*) 51 (2,3,*)   35 (2,3,*)
    49 (1,3,4,*) 50 (2,3,*)   34 (2,3,*)
    48 (1,3,4,*) 49 (2,3,*)   33 (2,3,*)
    47 (1,3,4,*) 48 (2,3,*)   32 (2,3,*)
    46 (1,3,*) 47 (2,3,*)   31 (2,3,*)
    45 (1,3,*) 46 (2,3,*)   30 (2,3,*)
    44 (1,3,*) 45 (2,3,*)   29 (2,3,*)
    43 (1,3,*) 44 (2,3,*)   28 (2,3,*)
    42 (1,3,*) 43 (2,3,*)   27 (2,3,*)
    41 (1,3,*) 42 (2,3,*)   26 (2,3,*)
    40 (1,3,*) 41 (2,3,*)   25 (2,3,*)
    39 (1,3,*) 40 (2,3,*)   24 (2,3,*)
    38 (1,3,*) 39 (2,3,*)   23 (2,3,*)
    37 (1,3,*) 38 (2,3,*)   22 (2,3,*)
    36 (1,3,*) 37 (2,3,*)   21 (2,3,*)
    35 (1,3,*) 36 (2,3,*)   20 (2,3,*)
    34 (1,3,*) 35 (2,3,*)   19 (2,3,*)
    33 (1,3,*) 34 (2,3,*)   18 (2,3,*)
    32 (1,3,*) 33 (2,3,*)   17 (2,3,*)
    31 (1,3,*) 32 (2,3,*)   16 (2,3,*)
    30 (1,3,*) 31 (2,3,*)   15 (2,3,*)
    29 (1,3,*) 30 (2,3,*)   12.1
    28 (1,3,*) 29 (2,3,*)   12
    27 (1,3,*) 28 (2,3,*)   11.6
    26 (1,3,*) 27 (2,3,*)   11.5
    25 (1,3,*) 26 (2,3,*)   11.1
    24 (1,3,*) 25 (2,3,*)   11
    23 (1,3,*) 24 (2,3,*)   10.6
    22 (1,3,*) 23 (2,3,*)   10.5
    21 (1,3,*) 22 (2,3,*)   10.0-10.1
    20 (1,3,*) 21 (2,3,*)   9.5-9.6
    19 (1,3,*) 20 (2,3,*)   9
    18 (1,3,*) 19 (1,3,*)    
    17 (1,3,*) 18 (1,3,*)    
    16 (1,3,*) 17 (1,3,*)    
    15 (1,3,*) 16 (1,3,*)    
    14 (1,3,*) 15 (1,3,*)    
    13 (1,3,*) 14    
    12 (1,3,*) 13    
    11 (1,3,*) 12    
    10 (1,3,*) 11    
    9 10    
    8 9    
    7 8    
    6 7    
    5 6    
    4 5    
    3.6 4    
    3.5      
    3      
    2      
Safari on iOS Opera Mini Android Browser Blackberry Browser Opera Mobile Android Chrome Android Firefox IE Mobile Android UC Browser Samsung Internet QQ Browser Baidu Browser KaiOS Browser
15 all 94 10 (2,*) 64 94 (2,3,*) 92 11 (3,*) 12.12 (2,3,*) 15.0 10.4 (2,3,*) 7.12 (2,3,*) 2.5
14.5-14.8 (5)   4.4.3-4.4.4 7 12.1     10   14.0      
14.0-14.4 (5)   4.4   12         13.0      
13.4-13.7 (5)   4.2-4.3   11.5         12.0      
Show all
13.3 (5)   4.1   11.1         11.1-11.2      
13.2 (5)   4   11         10.1      
13.0-13.1 (5)   3   10         9.2 (2,3,*)      
12.2-12.5 (5)   2.3             8.2 (2,3,*)      
12.0-12.1 (5)   2.2             7.2-7.4 (2,3,*)      
11.3-11.4   2.1             6.2-6.4 (2,3,*)      
11.0-11.2                 5.0-5.4 (2,3,*)      
10.3                 4 (2,3,*)      
10.0-10.2                        
9.3                        
9.0-9.2                        
8.1-8.4                        
8                        
7.0-7.1                        
6.0-6.1                        
5.0-5.1                        
4.2-4.3                        
4.0-4.1                        
3.2                        

Notes

  1. Partial support refers to supporting an earlier draft of the spec.

  2. Partial support refers to not supporting ::backdrop, and supporting the old :full-screen syntax rather than the standard :fullscreen.

  3. Partial support refers to not returning a Promise, as specified in the latest version of the spec.

  4. Unprefixed support is available behind the full-screen-api.unprefix.enabled flag

  5. Partial support refers to supporting only iPad, not iPhone. Shows an overlay button which can not be disabled.

* Partial support with prefix.

Bugs

  • IE 11 doesn't allow going to fullscreen mode when the event that triggers msRequestFullscreen() is a keydown or pointerdown event (keypress and click 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

Data by caniuse.com
Licensed under the Creative Commons Attribution License v4.0.
https://caniuse.com/fullscreen