Class: shaka.ui.SkipAdButton

Constructor

new SkipAdButton(parentnon-null, controlsnon-null)

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

Extends

Members

button_ :HTMLButtonElement

Type:
  • HTMLButtonElement
Source:

container_ :HTMLElement

Type:
  • HTMLElement
Source:

counter_ :HTMLElement

Type:
  • HTMLElement
Source:

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: