Interface StateReceiverElement

A custom element that automatically receives selected state updates from an ancestor <theoplayer-ui> element.

Do not implement this interface directly, instead use StateReceiverMixin.

interface StateReceiverElement {
    activeVideoQuality?: VideoQuality;
    deviceType?: DeviceType;
    error?: THEOplayerError;
    fullscreen?: boolean;
    playbackRate?: number;
    player?: ChromelessPlayer;
    previewTime?: number;
    streamType?: StreamType;
    targetVideoQualities?: VideoQuality[];
    theoplayerUiObservedProperties: (keyof StateReceiverPropertyMap)[];
}

Hierarchy

Properties

activeVideoQuality?: VideoQuality
deviceType?: DeviceType
fullscreen?: boolean
playbackRate?: number
previewTime?: number
streamType?: StreamType
targetVideoQualities?: VideoQuality[]
theoplayerUiObservedProperties: (keyof StateReceiverPropertyMap)[]

The names of the properties this element will receive.

Generated using TypeDoc