Skip to main content

Interface: PlayerUIOptions

Defined in: src/player/PlayerUI.ts:26

Properties​

allowExport?​

optional allowExport: boolean

Defined in: src/player/PlayerUI.ts:37

Show the export button and its format menu. Default true.


allowFullscreen?​

optional allowFullscreen: boolean

Defined in: src/player/PlayerUI.ts:35

Show the fullscreen button. Default true.


autoHideMs?​

optional autoHideMs: number

Defined in: src/player/PlayerUI.ts:28

Auto-hide controls after this many ms of inactivity. 0 = never hide. Default 2500.


exportControls?​

optional exportControls: boolean

Defined in: src/player/PlayerUI.ts:33

Show an fps/resolution/quality panel in the export menu. Default false, so the export menu is unchanged unless opted in.