1
0
mirror of https://github.com/videojs/video.js.git synced 2025-11-06 09:19:15 +02:00

refactor: switch to fullscreen.options (#6054)

This commit is contained in:
Gary Katsevman
2019-06-17 16:51:28 -04:00
committed by GitHub
parent 631ac3b68d
commit 2977d52592
3 changed files with 32 additions and 16 deletions

View File

@@ -29,7 +29,8 @@
* [languages](#languages)
* [nativeControlsForTouch](#nativecontrolsfortouch)
* [notSupportedMessage](#notsupportedmessage)
* [fullscreenOptions](#fullscreenoptions)
* [fullscreen](#fullscreen)
* [options](#options)
* [playbackRates](#playbackrates)
* [plugins](#plugins)
* [responsive](#responsive)
@@ -278,7 +279,14 @@ Explicitly set a default value for [the associated tech option](#nativecontrolsf
Allows overriding the default message that is displayed when Video.js cannot play back a media source.
### `fullscreenOptions`
### `fullscreen`
> Type: `Object`
> Default: `{options: {navigationUI: 'hide'}`
`fullscreen.options` can be set to pass in specific fullscreen options. At some point, it will be augmented with `element` and `handler` for more functionality.
#### `options`
> Type: `Object`
> Default: `{navigationUI: 'hide'}`