The player to drive. An object rather than a selector, so several bars or players can coexist.
OptionalxrThe integration, for the video behind a glass theme's surfaces. Without it, glass surfaces show no blurred video.
OptionalidleHow long the bar stays up without activity, in ms. Defaults to 3000.
OptionalfadeHow long the bar takes to show, in ms. Defaults to 250.
OptionalfadeHow long the bar takes to hide, in ms. Defaults to 250.
OptionalscrubSmallest gap between seeks while the scrubber is dragged, in ms. The handle follows the pointer regardless, and the release always seeks to the final position, so this only sets how often the video follows along. A short cached clip can take a tighter interval than a long cold stream. 0 disables throttling. Defaults to DEFAULT_SCRUB_INTERVAL_MS.
OptionalfollowWhether the bar follows a viewer who turns away from it while it is shown. Defaults to false: the bar is placed on reveal and stays anchored until it hides. A hidden bar never follows; it is placed in front of the viewer when it shows again. Drags always stop the follow.
OptionalvolumeWhat pressing mute does while the volume slider is open: "close"
closes the slider, as visionOS does, and muting is then dragging to zero;
"mute" toggles mute and leaves the slider open. Where the page cannot set
volume (iPhone, some iPad builds) there is no slider, and the button always
toggles mute. Defaults to "close".
OptionalvolumeHow long the volume slider stays open without activity, in ms. The bar stays up while it is open. Defaults to 5000.
OptionalvrWhen the VR button shows outside a session: "supported" where the
browser reports immersive-vr support, "always" everywhere. Without a
device, pressing it then gets A-Frame's fullscreen fallback on a desktop
and an error on iOS. It always shows during a session. Defaults to
"supported".
OptionalsubtitleHow the subtitle submenu offers tracks: "flat" lists Off and every track on one page, "nested"
offers On and Off with the tracks under Language. Defaults to "flat".
OptionalspeedWhether the settings menu offers playback speed. Defaults to false.
OptionaltimeHow the time label writes a time under an hour: "mm:ss" (00:09) or
"m:ss" (0:09). From an hour up both read h:mm:ss. Defaults to
"mm:ss".
OptionalrigThe recenter rig the bar rides on: where it is placed, and how it follows.
The control bar's options. Each left out takes its default.