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

    Interface PlayerVideoLoadOptions

    Load options for sidecar video tracks.

    interface PlayerVideoLoadOptions {
        crossOrigin?: string;
        fileFormatType?: FileFormatType;
        forceSkipMetadataResolution?: boolean;
        muted?: boolean;
        warmUpDuration?: number;
    }

    Hierarchy

    • PlayerTrackLoadOptions
      • PlayerVideoLoadOptions
    Index

    Properties

    crossOrigin?: string

    Sidecar video element crossorigin attribute.

    fileFormatType?: FileFormatType
    forceSkipMetadataResolution?: boolean

    When true, disables all automatic media probing / metadata HTTP requests for this track (file format detection, audio channel count, etc.). fileFormatType must be provided explicitly, or loading fails — anything else that would normally be probed falls back to a default value instead.

    muted?: boolean

    Whether sidecar video element is muted, defaults to false. Unmuted sidecar audio is played by the element itself, it is not routed through player audio and is not affected by player volume.

    warmUpDuration?: number

    Seconds before time window start sidecar video starts playing hidden and muted, to pre-buffer and sync before its cut is shown. Limited by sidecar media available before time window cutStartTime. Defaults to SIDECAR_VIDEO_DEFAULTS.warmUpDuration.