Interface DefaultUIProps

interface DefaultUIProps {
    autoplay: undefined | boolean;
    bottomControlBar?: ReactNode;
    children?: undefined;
    configuration: undefined | PlayerConfiguration;
    dvrThreshold: undefined | number;
    fluid: undefined | boolean;
    menu?: ReactNode;
    muted: undefined | boolean;
    onReady?: ((player) => void);
    player: undefined | ChromelessPlayer;
    source: undefined | SourceDescription;
    streamType: undefined | StreamType;
    title?: ReactNode;
    topControlBar?: ReactNode;
    userIdleTimeout: undefined | number;
    attributeChangedCallback?(attrName, oldValue, newValue): void;
    connectedCallback?(): void;
    disconnectedCallback?(): void;
}

Hierarchy

Properties

autoplay: undefined | boolean
bottomControlBar?: ReactNode

A slot for extra UI controls in the bottom control bar.

children?: undefined

Use a named slot instead, such as:

configuration: undefined | PlayerConfiguration
dvrThreshold: undefined | number
fluid: undefined | boolean
menu?: ReactNode

A slot for extra menus (see Menu).

muted: undefined | boolean
onReady?: ((player) => void)

Called when the backing player is created.

Type declaration

    • (player): void
    • Called when the backing player is created.

      Parameters

      Returns void

Param: player

player: undefined | ChromelessPlayer
source: undefined | SourceDescription
streamType: undefined | StreamType
title?: ReactNode

A slot for the stream's title in the top control bar.

topControlBar?: ReactNode

A slot for extra UI controls in the top control bar.

userIdleTimeout: undefined | number

Methods

  • Parameters

    • attrName: string
    • oldValue: any
    • newValue: any

    Returns void

  • Returns void

  • Returns void

Generated using TypeDoc