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

    Interface MediaChromeConfig

    interface MediaChromeConfig {
        playbackRateOptions?: number[];
        thumbnailFn?: (time: number) => undefined | string;
        thumbnailVttUrl?: string;
        trackMenuFloating?: boolean;
        trackMenuMultiselect?: boolean;
        trackMenuPlacement?: "top" | "bottom";
        visibility: MediaChromeVisibility;
        watermark?: string;
    }
    Index

    Properties

    playbackRateOptions?: number[]

    Custom options for playback speed rate

    thumbnailFn?: (time: number) => undefined | string

    Function to get thumbnail url from time (used for preview in media chrome time range)

    thumbnailVttUrl?: string

    VTT url for the thumbnails (used for preview in media chrome time range)

    trackMenuFloating?: boolean

    If true, keep audio menu open until closed, otherwise close on select

    trackMenuMultiselect?: boolean

    If true, show sidecar audios as separate groups

    trackMenuPlacement?: "top" | "bottom"

    Placement of the audio menu (top - next to help button, bottom - on the toolbar)

    visibility: MediaChromeVisibility

    Media chrome controls visibility (enabled, disabled or fullscreen only)

    watermark?: string

    Watermark text or svg