@byomakase/omakase-player
    Preparing search index...

    Interface PlayerVideoConfig

    Sidecar video configuration, shared by all sidecar videos of a player. Defaults keep every sidecar video loading at once and awake near its time window.

    interface PlayerVideoConfig {
        loadConcurrency: number;
        maxAwake: number;
        metadataLoad: boolean;
        minSeekInterval: number;
        seekStep: number;
    }
    Index

    Properties

    loadConcurrency: number

    Maximum number of sidecar video first loads running at once, others wait. Defaults to Infinity, no limit.

    maxAwake: number

    Maximum number of sidecar videos awake at once - with source attached, holding decoder, network and buffers. Sidecar videos closer to main media time take precedence, active sidecar video inside its time window always gets a slot. Defaults to Infinity, no limit.

    metadataLoad: boolean

    Whether sidecar video first load only resolves duration - MP4 metadata, or HLS playlists - without loading media data. Sidecar video stays dormant until main media time gets near its time window. Defaults to false, media is loaded. First load is skipped regardless when sidecar video duration is known, set with args.duration in load options.

    minSeekInterval: number

    Minimum milliseconds between seeks of sidecar video that can't play at main media playback rate. Defaults to SEEK_STEP_PLAYBACK_DEFAULTS.minSeekInterval.

    seekStep: number

    Seconds of main media time at 1x, multiplied by absolute playback rate, between seeks of sidecar video that can't play at main media playback rate - backwards, or faster than SEEK_STEP_PLAYBACK_DEFAULTS.maxNativePlaybackRate. Defaults to SEEK_STEP_PLAYBACK_DEFAULTS.seekStep.