Class LanguageMenuButton

<theoplayer-language-menu-button> - A menu button that opens a LanguageMenu.

When there are no alternative audio languages or subtitles, this button automatically hides itself.

Attribute

menu - The ID of the language menu.

Hierarchy

Constructors

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.

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

  • The ID of the menu to open.

    Returns null | string

  • Parameters

    • menuId: null | string

    Returns void

Methods

  • Parameters

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

    Returns void

  • Returns void

  • Returns void

Generated using TypeDoc