Class PreviewTimeDisplay

<theoplayer-preview-time-display> - A display that shows the current preview time of a <theoplayer-time-range>.

remaining - If set, shows the remaining time of the stream.

remaining-when-live - If set, and the stream is a livestream, shows the remaining time (until the live point) of the stream.

Hierarchy

Constructors

Properties

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

The names of the properties this element will receive.

Accessors

  • get previewTime(): number

    Returns number

  • set previewTime(previewTime: number): void

    Parameters

    • previewTime: number

    Returns void

Methods

  • Parameters

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

    Returns void