Interface UIContainerProps

interface UIContainerProps {
    attributeChangedCallback?: (
        attrName: string,
        oldValue: any,
        newValue: any,
    ) => void;
    autoplay?: boolean;
    bottomChrome?: ReactNode;
    casting?: boolean;
    centeredChrome?: ReactNode;
    centeredLoading?: ReactNode;
    children?: undefined;
    configuration?: PlayerConfiguration;
    connectedCallback?: () => void;
    deviceType?: DeviceType;
    disconnectedCallback?: () => void;
    dvrThreshold?: number;
    ended?: boolean;
    error?: ReactNode;
    fluid?: boolean;
    fullscreen?: boolean;
    menu?: ReactNode;
    middleChrome?: ReactNode;
    muted?: boolean;
    onReady?: (player: ChromelessPlayer) => void;
    paused?: boolean;
    player?: ChromelessPlayer;
    source?: SourceDescription;
    streamType?: StreamType;
    topChrome?: ReactNode;
    userIdleTimeout?: number;
}

Hierarchy

Properties

attributeChangedCallback?: (
    attrName: string,
    oldValue: any,
    newValue: any,
) => void
autoplay?: boolean
bottomChrome?: ReactNode

A slot for controls at the bottom of the player.

Can be used for controls such as a play button (PlayButton) or a seek bar (TimeRange).

casting?: boolean
centeredChrome?: ReactNode

A slot for controls centered on the player, on top of other controls.

centeredLoading?: ReactNode

A slot for a loading indicator centered on the player, on top of other controls but behind the centered chrome.

children?: undefined
configuration?: PlayerConfiguration
connectedCallback?: () => void
deviceType?: DeviceType
disconnectedCallback?: () => void
dvrThreshold?: number
ended?: boolean
error?: ReactNode

A slot for an error display, to show when the player encounters a fatal error (see ErrorDisplay).

fluid?: boolean
fullscreen?: boolean
menu?: ReactNode

A slot for extra menus (see Menu).

middleChrome?: ReactNode

A slot for controls in the middle of the player (between the top and bottom chrome).

muted?: boolean
onReady?: (player: ChromelessPlayer) => void

Called when the backing player is created.

paused?: boolean
streamType?: StreamType
topChrome?: ReactNode

A slot for controls at the top of the player.

Can be used to display the stream's title, or for a cast button (ChromecastButton).

userIdleTimeout?: number