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:

(private, non-null) backFromResolutionButton_ :HTMLElement

Type:
  • HTMLElement
Source:

(private, non-null) backFromResolutionSpan_ :HTMLElement

Type:
  • HTMLElement
Source:

(private, non-null) currentResolution_ :HTMLElement

Type:
  • HTMLElement
Source:

(export) parent :HTMLElement

Type:
  • HTMLElement
Overrides:
Source:

(export) player :shaka.Player

Type:
Overrides:
Source:

(private, non-null) resolutionButton_ :HTMLElement

Type:
  • HTMLElement
Source:

(private, non-null) resolutionMenu_ :HTMLElement

Type:
  • HTMLElement
Source:

(private, non-null) resolutionNameSpan_ :HTMLElement

Type:
  • HTMLElement
Source:

Methods

(private) addResolutionButton_()

Source:

(private) addResolutionMenu_()

Source:

(private) onResolutionClick_()

Source:

(private) onTrackSelected_(tracknon-null)

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

(private) updateLocalizedStrings_()

Source:

(private) updateResolutionSelection_()

Source: