clickToPlay
When you click on the canvas, pause if the video is playing, or play if it is paused.
Example
Below is an example of disabling clickToPlay
.
import { ControlBar } from "@egjs/view360";
new ControlBar({
clickToPlay: false
})
When you click on the canvas, pause if the video is playing, or play if it is paused.
Below is an example of disabling clickToPlay
.
import { ControlBar } from "@egjs/view360";
new ControlBar({
clickToPlay: false
})