Class: shaka.ui.ResolutionSelection

Constructor

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

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

Extends

Classes

Factory

Members

(private, non-null) abrOnSpan_ :HTMLElement

Type:
  • HTMLElement
Source:

(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) onButtonClick_()

Overrides:
Source:

(private) onTrackSelected_(tracknon-null)

Parameters:
Name Type Description
track shaka.extern.Track
Source:

(private) updateLocalizedStrings_()

Source:

(private) updateResolutionSelection_()

Source: