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

(private, non-null) audioLangMenu_ :HTMLElement

Type:
  • HTMLElement
Source:

(private, non-null) backFromLanguageButton_ :HTMLElement

Type:
  • HTMLElement
Source:

(private, non-null) backFromLanguageSpan_ :HTMLElement

Type:
  • HTMLElement
Source:

(private, non-null) currentAudioLanguage_ :HTMLElement

Type:
  • HTMLElement
Source:

(private, non-null) languageNameSpan_ :HTMLElement

Type:
  • HTMLElement
Source:

(private, non-null) languagesButton_ :HTMLElement

Type:
  • HTMLElement
Source:

(export) parent :HTMLElement

Type:
  • HTMLElement
Overrides:
Source:

(export) player :shaka.Player

Type:
Overrides:
Source:

Methods

(private) addAudioLangMenu_()

Source:

(private) addLanguagesButton_()

Source:

(private) onAudioLanguageSelected_(language)

Parameters:
Name Type Description
language string
Source:

(private) onLanguagesClick_()

Source:

(private) onTracksChanged_()

Source:

(private) updateAudioLanguages_()

Source:

(private) updateLocalizedStrings_()

Source: