A world-space control bar: play/pause, ±15 s skip, seek bar, volume, settings (languages, subtitles, optionally speed), info, fullscreen and VR.
const bar = createControlBar(scene, { player, xr });// Later:bar.destroy(); Copy
const bar = createControlBar(scene, { player, xr });// Later:bar.destroy();
The options are ControlBarConfig. The bar rides on a recenter rig, configured through its rig option.
rig
A world-space control bar: play/pause, ±15 s skip, seek bar, volume, settings (languages, subtitles, optionally speed), info, fullscreen and VR.
The options are ControlBarConfig. The bar rides on a recenter rig, configured through its
rigoption.