Constructor
new ResolutionSelection(parentnon-null, controlsnon-null)
Parameters:
Name | Type | Description |
---|---|---|
parent |
HTMLElement | |
controls |
shaka.ui.Controls |
- Extends:
- Source:
Extends
Classes
Members
backButton :HTMLButtonElement
Type:
- HTMLButtonElement
- Overrides:
- Implements:
- Source:
backSpan :HTMLElement
Type:
- HTMLElement
- Overrides:
- Implements:
- Source:
button :HTMLButtonElement
Type:
- HTMLButtonElement
- Overrides:
- Implements:
- Source:
currentSelection :HTMLElement
Type:
- HTMLElement
- Overrides:
- Implements:
- Source:
icon :HTMLElement
Type:
- HTMLElement
- Overrides:
- Implements:
- Source:
menu :HTMLElement
Type:
- HTMLElement
- Overrides:
- Implements:
- Source:
nameSpan :HTMLElement
Type:
- HTMLElement
- Overrides:
- Implements:
- Source:
parent :HTMLElement
Type:
- HTMLElement
- Overrides:
- Implements:
- Source:
Methods
addButton_(iconText)
Parameters:
Name | Type | Description |
---|---|---|
iconText |
string |
- Overrides:
- Source:
addMenu_()
- Overrides:
- Source:
getResolutionLabel_(tracknon-null, tracksnon-null) → {string}
Parameters:
Name | Type | Description |
---|---|---|
track |
shaka.extern.Track | |
tracks |
Array.<!shaka.extern.Track> |
- Source:
Returns:
- Type
- string
inOverflowMenu_()
- Overrides:
- Source:
onButtonClick_()
- Overrides:
- Source:
updateLocalizedStrings_()
- Source:
updateResolutionSelection_()
- Source: