Constructor
new SkipAdButton(parentnon-null, controlsnon-null)
Parameters:
Name | Type | Description |
---|---|---|
parent |
HTMLElement | |
controls |
shaka.ui.Controls |
- Extends:
- Source:
Extends
Members
parent :HTMLElement
Type:
- HTMLElement
- Overrides:
- Implements:
- Source:
timer_ :shaka.util.Timer
The timer that tracks down the ad progress until it can be skipped.
Type:
- Source:
Methods
onAdStarted_()
- Source:
onSkipStateChanged_()
- Source:
onTimerTick_()
- Source:
reset_()
- Source:
updateAriaLabel_()
- Source:
updateLocalizedStrings_()
- Source: