<theoplayer-live-button> - A button that shows whether the player is currently playing at the live point, and seeks to the live point when clicked.

Attribute

live-threshold - The maximum distance (in seconds) from the live point that the player's current time can be for it to still be considered "at the live point". If unset, defaults to 10 seconds.

Attribute

live (readonly) - Whether the player is considered to be playing at the live point.

Hierarchy

Constructors

Properties

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

The names of the properties this element will receive.

Accessors

  • get disabled(): boolean
  • Whether the button is disabled.

    When disabled, the button cannot be clicked.

    Returns boolean

  • set disabled(disabled): void
  • Parameters

    • disabled: boolean

    Returns void

Methods

  • Parameters

    Returns void

  • Parameters

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

    Returns void

  • Returns void

  • Returns void

  • Returns void

Generated using TypeDoc