Container to display Ads.
Flag to indicate that current Ad is being played.
Element in which Ads will be created.
Store the current Ad's current time position to be passed in the timeupdate
event.
Flag to indicate that individual Ad has been played.
Store the current Ad's duration.
Flag to indicate when player has finished playing all Ads.
Type of Ads could be: pre-roll, mid-roll, post-roll or combination of them.
Object which allows to request ads from ad servers or a dynamic ad insertion stream.
Object which handles playing ads after they've been received from the server.
Flag to indicate if Ad is currently muted or not.
Object containing the data used to request ads from the server.
Flag to indicate that Ads are ready to being played.
The VAST/VPAID URL to play Ads.
Store the current Ad's volume level.
Flag to indicate if Ad should be played automatically
Flag to indicate if Ad can be played via autoplay
attribute.
Flag to indicate if Ad can autoplayed while muted.
Native video/audio tag to execute native events.
List of IMA SDK events to be executed.
Element to present changes in current time while Ad is being played.
Instance of Media object to execute actions once Ad has ended/skipped.
Promise to start all IMA SDK elements, once the library has been loaded.
Retrieve the current Ad's current time position.
Set the current Ad's current time position.
Retrieve the current Ad's duration.
Retrieve the current Ad's ended status.
Retrieve the current Ad's muted status.
Set the current Ad's muted status.
Retrieve the current Ad's paused status.
Retrieve current Ad's volume level.
Set the current Ad's volume level.
Dispatch IMA SDK's events via OpenPlayer.
Callback to be executed once the Ad has ended.
Dispatch an IMA SDK error that will destroy the Ads instance and resume original media.
Callback to be executed once IMA SDK manager is loaded.
Callback to be executed once the Ad has been paused.
Callback to be executed once the Ad has been resumed.
Internal callback to start playing Ads or resume media if error is detected.
Setup final attributes to the Ad before playing it, which include initial dimensions and capabilities to autoplay Ad or not.
Callback to resume original media.
This can happen when Ad is being skipped or has ended.
Prepare container and request loader so Ads can be played.
Callback to be executed to start playing Ad.
Execute any callbacks to destroy Ads.
Create the Ads container and loader to process the Ads URL provided.
Pause Ad if adsManager
is active.
Start playing/resume Ad if adsManager
is active.
Change dimensions of Ad.
The new width of the Ad's container.
The new height of the Ad's container.
CSS transform
property to align Ad if fill
mode is enabled.
Generated using TypeDoc
Ads Media.
This class implements Google IMA SDK v3.0 to display VAST and VPAID advertisements
https://developers.google.com/interactive-media-ads/
Ads