Class: shaka.ui.LoopButton

Constructor

new LoopButton(parentnon-null, controlsnon-null)

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

Extends

Classes

Factory

Members

button_ :HTMLButtonElement

Type:
  • HTMLButtonElement
Source:

currentState_ :HTMLElement

Type:
  • HTMLElement
Source:

icon_ :HTMLElement

Type:
  • HTMLElement
Source:

loopEnabled_ :boolean

Type:
  • boolean
Source:

parent :HTMLElement

Type:
  • HTMLElement
Overrides:
Source:

timer_ :shaka.util.Timer

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

Methods

onClick_()

Source:

onTimerTick_()

Source:

updateLocalizedStrings_()

Source: