bitmovin-player-ui
    Preparing search index...

    Interface ShadowDomConfig

    interface ShadowDomConfig {
        additionalStylesheets?: string[];
        enabled: boolean;
        uiStylesheet?: string;
    }
    Index

    Properties

    additionalStylesheets?: string[]

    Additional stylesheets to inject into the Shadow DOM (array of filenames/URLs).

    Use this to include custom UI styles when Shadow DOM is enabled.

    Default: undefined

    enabled: boolean

    Render the UI inside a Shadow DOM. Enable this to keep player UI styles from being affected by host-page CSS and to keep the UI’s classes from affecting the page.

    Default: false

    uiStylesheet?: string

    Filename or URL of the UI stylesheet to inject into the Shadow DOM.

    If a non-URL value is provided, the UI looks for a linked stylesheet whose href contains this value and reuses it inside the shadow root so the default styling is available.

    If a URL is provided, the value is used as it is.

    Default: 'bitmovinplayer-ui'