Skip to main content

progressBar

Typeboolean | ControlBarItemOptions
Defaulttrue
Added inv4.0.0

Displays the video progress bar.
If true, it'll show the button & apply the default options.
If false, it won't display the button.
You can also set detailed options by setting a object of type ControlBarItemOptions.

Example

Below is an example of not displaying a progress bar.

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

new ControlBar({
progressBar: false
})

Below is an example of a progress bar displaying in a different location.

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

new ControlBar({
progressBar: {
position: ControlBar.POSITION.MAIN_BOTTOM
}
})