videoTime
Displays the current time / total time of the video.
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 video time.
import { ControlBar } from "@egjs/view360";
new ControlBar({
videoTime: false
})
Below is an example of a video time displaying in a different location.
import { ControlBar } from "@egjs/view360";
new ControlBar({
videoTime: {
position: ControlBar.POSITION.MAIN_BOTTOM,
order: 0
}
})