Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: reformatted and improved text
Panel
borderColor#f2f2f2
bgColor#f2f2f2

Request Fullscreen

Puts the Player into fullscreen mode.

Note

Please note that for all browsers except Chrome, user interaction (

...

e.g. clicking the Play button to start a video) is necessary to set

...

fullscreen mode.

...

Code Block
languagetext
player.requestFullscreen();



Panel

...

borderColor

...

#f2f2f2

...

bgColor

...

#f2f2f2

Exit Fullscreen

...

Exits fullscreen mode.

...

Code Block

...

language

...

text

...

player.exitFullscreen()

...

;



Panel
borderColor#f2f2f2
bgColor#f2f2f2

Is Fullscreen

Returns a boolean that indicates whether or not the player is in fullscreen mode.

Code Block
languagetext
player

Checks whether fullscreen mode is set.

...

bgColor#DCDCDC

...

.isFullscreen()

...

;