Skip to main content

keyboardControls

Typeboolean
Defaulttrue
Added inv4.0.0

Enables video keyboard controls.
When enabled, you can adjust the video volume with the up/down arrow keys and the video time with the left/right arrow keys.
Also enabling this will disable rotation control via keyboard.

Example

Below is an example of disabling video keyboard controls.

import { ControlBar } from "@egjs/view360";

new ControlBar({
keyboardControls: false
})