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

    Interface AudioChroming

    interface AudioChroming {
        fullscreenChroming?: FullscreenChroming;
        styleUrl?: string | string[];
        theme: Audio;
        themeConfig?: Partial<AudioThemeConfig>;
        thumbnailSelectionFn?: (time: number) => string;
        thumbnailUrl?: string;
        watermark?: string;
        watermarkVisibility?: WatermarkVisibility;
    }

    Hierarchy

    • BasePlayerChroming<Audio>
      • AudioChroming
    Index

    Properties

    fullscreenChroming?: FullscreenChroming

    Specifies if chroming is enabled in fullscreen

    styleUrl?: string | string[]

    CSS file url(s) for player chroming styling

    theme: Audio

    Chroming theme determines how the player will be chromed.

    themeConfig?: Partial<AudioThemeConfig>
    thumbnailSelectionFn?: (time: number) => string

    Function that allows custom handler for getting a thumbnail for given time

    Type Declaration

      • (time: number): string
      • Parameters

        • time: number

          time in seconds

        Returns string

        thumbnail url

    thumbnailUrl?: string

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

    watermark?: string

    Watermark text or svg

    watermarkVisibility?: WatermarkVisibility

    Specifies if watermark is shown when the video is playing