bitmovin-player-ui
    Preparing search index...

    Interface UIConditionContext

    The context that will be passed to a UIConditionResolver to determine if it's conditions fulfil the context.

    interface UIConditionContext {
        adRequiresUi: boolean;
        documentWidth: number;
        isAd: boolean;
        isFullscreen: boolean;
        isMobile: boolean;
        isPlaying: boolean;
        isSourceLoaded: boolean;
        isTv: boolean;
        width: number;
    }
    Index

    Properties

    adRequiresUi: boolean

    Tells if the current ad requires an external UI, if #isAd is true.

    documentWidth: number

    The width of the document where the player/UI is embedded in.

    isAd: boolean

    Tells if the player is loading or playing an ad.

    isFullscreen: boolean

    Tells if the player is currently in fullscreen mode.

    isMobile: boolean

    Tells if the UI is running in a mobile browser.

    isPlaying: boolean

    Tells if the player is in playing or paused state.

    isSourceLoaded: boolean

    Tells if the player has a Source.

    isTv: boolean

    Tells if the UI is running in a TV browser.

    width: number

    The width of the player/UI element.