Class: shaka.ui.AudioLanguageSelection

Constructor

(export) new AudioLanguageSelection(parentnon-null, controlsnon-null)

Parameters:
Name Type Description
parent HTMLElement
controls shaka.ui.Controls
Extends:
Source:

Extends

Classes

Factory

Members

(protected, non-null) backButton :HTMLElement

Type:
  • HTMLElement
Overrides:
Source:

(protected, non-null) backSpan :HTMLElement

Type:
  • HTMLElement
Overrides:
Source:

(protected, non-null) button :HTMLElement

Type:
  • HTMLElement
Overrides:
Source:

(protected, non-null) currentSelection :HTMLElement

Type:
  • HTMLElement
Overrides:
Source:

(protected, non-null) icon :HTMLElement

Type:
  • HTMLElement
Overrides:
Source:
Type:
  • HTMLElement
Overrides:
Source:

(protected, non-null) nameSpan :HTMLElement

Type:
  • HTMLElement
Overrides:
Source:

(export) parent :HTMLElement

Type:
  • HTMLElement
Overrides:
Source:

(export) player :shaka.Player

Type:
Overrides:
Source:

Methods

(private) addButton_(iconText)

Parameters:
Name Type Description
iconText string
Overrides:
Source:

(private) addMenu_()

Overrides:
Source:

(private) onAudioLanguageSelected_(language)

Parameters:
Name Type Description
language string
Source:

(private) onButtonClick_()

Overrides:
Source:

(private) onTracksChanged_()

Source:

(private) updateAudioLanguages_()

Source:

(private) updateLocalizedStrings_()

Source: