Interface: shaka.extern.IAd

Extends

Methods

canSkipNow() → {boolean}

Source:
Returns:
Type
boolean

getAdId() → {string}

Source:
Returns:
Type
string

getAdvertiserName() → {string}

Source:
Returns:
Type
string

getCreativeAdId() → {string}

Source:
Returns:
Type
string

getDescription() → {string}

Source:
Returns:
Type
string

getDuration() → {number}

Source:
Returns:
Type
number

getMediaUrl() → {string}

Source:
Returns:
Type
string

getMinSuggestedDuration() → {number}

Gets the minimum suggested duration. Defaults to being equivalent to getDuration() for server-side ads.
Source:
See:
Returns:
Type
number

getPodIndex() → {number}

Source:
Returns:
Type
number

getPositionInSequence() → {number}

Source:
Returns:
Type
number

getRemainingTime() → {number}

Source:
Returns:
Type
number

getSequenceLength() → {number}

Source:
Returns:
Type
number

getTimeOffset() → {number}

Source:
Returns:
Type
number

getTimeUntilSkippable() → {number}

Source:
Returns:
Type
number

getTitle() → {string}

Source:
Returns:
Type
string

getVastMediaBitrate() → {number}

Source:
Returns:
Type
number

getVastMediaHeight() → {number}

Source:
Returns:
Type
number

getVastMediaWidth() → {number}

Source:
Returns:
Type
number

getVolume() → {number}

Source:
Returns:
Type
number

isLinear() → {boolean}

Source:
Returns:
Type
boolean

isMuted() → {boolean}

Source:
Returns:
Type
boolean

isPaused() → {boolean}

Source:
Returns:
Type
boolean

isSkippable() → {boolean}

Source:
Returns:
Type
boolean

needsSkipUI() → {boolean}

Source:
Returns:
Type
boolean

release()

Request that this object release all internal references.
Inherited From:
Source:

resize(width, height)

Parameters:
Name Type Description
width number
height number
Source:

setMuted(muted)

Parameters:
Name Type Description
muted boolean
Source:

setVolume(volume)

Parameters:
Name Type Description
volume number
Source: