@bitmovin/player-integration-webxr - v1.2.0
    Preparing search index...

    Interface ControlBarConfig

    The control bar's options. Each left out takes its default.

    interface ControlBarConfig {
        player: PlayerAPI;
        xr?: BitmovinWebXR | null;
        idleHideMs?: number;
        fadeInMs?: number;
        fadeOutMs?: number;
        scrubIntervalMs?: number;
        follow?: boolean;
        volumeButtonWhenOpen?: "close" | "mute";
        volumeIdleCloseMs?: number;
        vrButton?: "always" | "supported";
        subtitleMenu?: "flat" | "nested";
        speedMenu?: boolean;
        timeFormat?: TimeFormat;
        rig?: RecenterRigConfig;
    }
    Index
    player: PlayerAPI

    The player to drive. An object rather than a selector, so several bars or players can coexist.

    xr?: BitmovinWebXR | null

    The integration, for the video behind a glass theme's surfaces. Without it, glass surfaces show no blurred video.

    idleHideMs?: number

    How long the bar stays up without activity, in ms. Defaults to 3000.

    fadeInMs?: number

    How long the bar takes to show, in ms. Defaults to 250.

    fadeOutMs?: number

    How long the bar takes to hide, in ms. Defaults to 250.

    scrubIntervalMs?: number

    Smallest 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.

    follow?: boolean

    Whether 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.

    volumeButtonWhenOpen?: "close" | "mute"

    What 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".

    volumeIdleCloseMs?: number

    How long the volume slider stays open without activity, in ms. The bar stays up while it is open. Defaults to 5000.

    vrButton?: "always" | "supported"

    When 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".

    subtitleMenu?: "flat" | "nested"

    How 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".

    speedMenu?: boolean

    Whether the settings menu offers playback speed. Defaults to false.

    timeFormat?: TimeFormat

    How 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".

    The recenter rig the bar rides on: where it is placed, and how it follows.