Class: shaka.ui.AdCounter

Constructor

new AdCounter(parentnon-null, controlsnon-null)

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

Extends

Members

container_ :HTMLElement

Type:
  • HTMLElement
Source:

parent :HTMLElement

Type:
  • HTMLElement
Overrides:
Source:

span_ :HTMLElement

Type:
  • HTMLElement
Source:

timer_ :shaka.util.Timer

The timer that tracks down the ad progress.
Type:
Source:

Methods

onAdStarted_()

Source:

onTimerTick_()

Source:

reset_()

Source:

updateAriaLabel_()

Source: