| Package | org.openvideoplayer.advertising |
| Interface | public interface IMASTAdapter extends flash.events.IEventDispatcher |
| Property | Defined By | ||
|---|---|---|---|
| captionsActive : Boolean [read-only]
True if captions are active and being shown
| IMASTAdapter | ||
| contentBitrate : int [read-only]
The bitrate-in-use of the current content
| IMASTAdapter | ||
| contentHeight : int [read-only]
The native height of the current content
| IMASTAdapter | ||
| contentTitle : String [read-only]
The title of the current content
| IMASTAdapter | ||
| contentUrl : String [read-only]
The URL that the current content was received from
| IMASTAdapter | ||
| contentWidth : int [read-only]
The native width of the current content
| IMASTAdapter | ||
| duration : Number [read-only]
The duration of the current content
| IMASTAdapter | ||
| fullScreen : Boolean [read-only]
True if the player is fullscreen
| IMASTAdapter | ||
| hasAudio : Boolean [read-only]
True if the current content has an audio stream
| IMASTAdapter | ||
| hasCaptions : Boolean [read-only]
True if the current content has captions available
| IMASTAdapter | ||
| hasVideo : Boolean [read-only]
True if the current content has a video stream
| IMASTAdapter | ||
| isPaused : Boolean [read-only]
True if the player is paused
| IMASTAdapter | ||
| isPlaying : Boolean [read-only]
True if the player is playing content
| IMASTAdapter | ||
| isStopped : Boolean [read-only]
True if the player is stopped, or not yet started
| IMASTAdapter | ||
| itemsPlayed : int [read-only]
The count of items that have been displayed in full or part. | IMASTAdapter | ||
| playerHeight : int [read-only]
The physical height of the player applciation
| IMASTAdapter | ||
| playerWidth : int [read-only]
The physical width of the player applciation
| IMASTAdapter | ||
| pollingFrequency : int [read-only]
The frequency in milliseconds, a MAST engine will poll
top-level property triggers. | IMASTAdapter | ||
| position : Number [read-only]
The position of the current content
| IMASTAdapter | ||
| systemTime : Date [read-only]
The current system time
| IMASTAdapter | ||
| totalWatchedTime : Number [read-only]
The total amount of content that has been rendered in this session
| IMASTAdapter | ||
| watchedTime : Number [read-only]
The amount of time that this item has rendered, regardless of seeks
| IMASTAdapter | ||
| Method | Defined By | ||
|---|---|---|---|
activateTrigger(trigger:IMASTTrigger):void
Called by Mainsail when a trigger is being activated
| IMASTAdapter | ||
addCuePoint(cp:Object):void
Add a dynamic cue point. | IMASTAdapter | ||
deactivateTrigger(trigger:IMASTTrigger):void
Called by Mainsail or by the payload handler when a trigger/payload is complete or being deactivated
| IMASTAdapter | ||
getTargetRegionMovieClip(region:String):Sprite
Called by a plug-in that wishes to add an ad display object to the player. | IMASTAdapter | ||
| Event | Summary | Defined By | ||
|---|---|---|---|---|
| A cue point event occurred. | IMASTAdapter | |||
| The player has stopped naturally, with no new content | IMASTAdapter | |||
| An error has occurred, typically of enough severity to warrant display to the user | IMASTAdapter | |||
| Fullscreen has been toggled | IMASTAdapter | |||
| The current item is coming to the end | IMASTAdapter | |||
| A new item is being started | IMASTAdapter | |||
| The mouse has moved | IMASTAdapter | |||
| The player was muted, or volume brought to 0 | IMASTAdapter | |||
| Athe pause command is given | IMASTAdapter | |||
| Defined as anytime the play command is issued, even after a pause | IMASTAdapter | |||
| Player size has changed | IMASTAdapter | |||
| The player was manually seeked | IMASTAdapter | |||
| The stop command is given | IMASTAdapter | |||
| Volume was changed | IMASTAdapter | |||
| captionsActive | property |
captionsActive:Boolean [read-only] True if captions are active and being shown
public function get captionsActive():Boolean| contentBitrate | property |
contentBitrate:int [read-only] The bitrate-in-use of the current content
public function get contentBitrate():int| contentHeight | property |
contentHeight:int [read-only] The native height of the current content
public function get contentHeight():int| contentTitle | property |
contentTitle:String [read-only] The title of the current content
public function get contentTitle():String| contentUrl | property |
contentUrl:String [read-only] The URL that the current content was received from
public function get contentUrl():String| contentWidth | property |
contentWidth:int [read-only] The native width of the current content
public function get contentWidth():int| duration | property |
duration:Number [read-only] The duration of the current content
public function get duration():Number| fullScreen | property |
fullScreen:Boolean [read-only] True if the player is fullscreen
public function get fullScreen():Boolean| hasAudio | property |
hasAudio:Boolean [read-only] True if the current content has an audio stream
public function get hasAudio():Boolean| hasCaptions | property |
hasCaptions:Boolean [read-only] True if the current content has captions available
public function get hasCaptions():Boolean| hasVideo | property |
hasVideo:Boolean [read-only] True if the current content has a video stream
public function get hasVideo():Boolean| isPaused | property |
isPaused:Boolean [read-only] True if the player is paused
public function get isPaused():Boolean| isPlaying | property |
isPlaying:Boolean [read-only] True if the player is playing content
public function get isPlaying():Boolean| isStopped | property |
isStopped:Boolean [read-only] True if the player is stopped, or not yet started
public function get isStopped():Boolean| itemsPlayed | property |
itemsPlayed:int [read-only] The count of items that have been displayed in full or part.
public function get itemsPlayed():int| playerHeight | property |
playerHeight:int [read-only] The physical height of the player applciation
public function get playerHeight():int| playerWidth | property |
playerWidth:int [read-only] The physical width of the player applciation
public function get playerWidth():int| pollingFrequency | property |
pollingFrequency:int [read-only] The frequency in milliseconds, a MAST engine will poll top-level property triggers.
public function get pollingFrequency():int| position | property |
position:Number [read-only] The position of the current content
public function get position():Number| systemTime | property |
systemTime:Date [read-only] The current system time
public function get systemTime():Date| totalWatchedTime | property |
totalWatchedTime:Number [read-only] The total amount of content that has been rendered in this session
public function get totalWatchedTime():Number| watchedTime | property |
watchedTime:Number [read-only] The amount of time that this item has rendered, regardless of seeks
public function get watchedTime():Number| activateTrigger | () | method |
public function activateTrigger(trigger:IMASTTrigger):voidCalled by Mainsail when a trigger is being activated
Parameters
trigger:IMASTTrigger |
| addCuePoint | () | method |
public function addCuePoint(cp:Object):voidAdd a dynamic cue point.
Parameters
cp:Object |
| deactivateTrigger | () | method |
public function deactivateTrigger(trigger:IMASTTrigger):voidCalled by Mainsail or by the payload handler when a trigger/payload is complete or being deactivated
Parameters
trigger:IMASTTrigger |
| getTargetRegionMovieClip | () | method |
public function getTargetRegionMovieClip(region:String):SpriteCalled by a plug-in that wishes to add an ad display object to the player.
Parameters
region:String |
Sprite |
| OnCuePoint | Event |
| OnEnd | Event |
org.openvideoplayer.advertising.MASTAdapterEventThe player has stopped naturally, with no new content
| OnError | Event |
org.openvideoplayer.advertising.MASTAdapterEventAn error has occurred, typically of enough severity to warrant display to the user
| OnFullScreenChange | Event |
| OnItemEnd | Event |
org.openvideoplayer.advertising.MASTAdapterEventThe current item is coming to the end
| OnItemStart | Event |
| OnMouseOver | Event |
| OnMute | Event |
org.openvideoplayer.advertising.MASTAdapterEventThe player was muted, or volume brought to 0
| OnPause | Event |
| OnPlay | Event |
org.openvideoplayer.advertising.MASTAdapterEventDefined as anytime the play command is issued, even after a pause
| OnPlayerSizeChanged | Event |
| OnSeek | Event |
| OnStop | Event |
| OnVolumeChange | Event |