Package | com.adobe.mediacore.events |
Class | public class MediaPlayerEvent |
Inheritance | MediaPlayerEvent ![]() |
Method | Defined By | ||
---|---|---|---|
MediaPlayerEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false)
Default constructor. | MediaPlayerEvent | ||
clone():Event [override]
| MediaPlayerEvent |
Constant | Defined By | ||
---|---|---|---|
MEDIA_PLAYER_ADS_CHANGE : String = mediaPlayerAdsChange [static]
The type of the event dispatched when the ads property
on the MediaPlayer has changed. | MediaPlayerEvent | ||
MEDIA_PLAYER_CURRENT_TIME_CHANGE : String = mediaPlayerCurrentTimeChange [static]
The type of the event dispatched when the currentTime property
on the MediaPlayer has changed
| MediaPlayerEvent | ||
MEDIA_PLAYER_DURATION_CHANGE : String = mediaPlayerDurationChange [static]
The type of the event dispatched when the duration property
on the MediaPlayer has changed
| MediaPlayerEvent | ||
MEDIA_PLAYER_ITEM_REPLACE : String = mediaPlayerItemReplace [static]
The type of the event dispatched when a MediaPlayerItem is replaced
| MediaPlayerEvent | ||
MEDIA_PLAYER_PLAY_COMPLETE : String = mediaPlayerPlayComplete [static]
The type of the event dispatched when the playback of the
MediaPlayerItem is complete
| MediaPlayerEvent | ||
MEDIA_PLAYER_PLAY_START : String = mediaPlayerPlayStart [static]
The type of the event dispatched when the playback of the
MediaPlayerItem has started
| MediaPlayerEvent | ||
MEDIA_PLAYER_RELATIVE_TIME_OFFSET_CHANGE : String = mediaPlayerRelativeTimeOffsetChange [static]
The type of the event dispatched when the relativeTimeOffset property
on the MediaPlayer has changed
| MediaPlayerEvent | ||
MEDIA_PLAYER_VIDEO_RENDER_START : String = mediaPlayerVideoRenderStart [static]
The type of the event dispatched when the playback of the
MediaPlayerItem has started and video is visible on the screen
| MediaPlayerEvent | ||
MEDIA_PLAYER_VIEW_IS_USING_STAGE_VIDEO_CHANGE : String = mediaPlayerViewIsUsingStageVideoChange [static]
The type of the event dispatched when the viewIsStageVideo property
on the MediaPlayer has changed. | MediaPlayerEvent | ||
MEDIA_PLAYER_VIEW_VIDEO_BOUNDS_CHANGE : String = mediaPlayerViewVideoBoundsChange [static]
The type of the event dispatched when the videoBounds property
on the MediaPlayer has changed. | MediaPlayerEvent |
MediaPlayerEvent | () | Constructor |
public function MediaPlayerEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false)
Default constructor.
Parameterstype:String | |
bubbles:Boolean (default = false )
| |
cancelable:Boolean (default = false )
|
clone | () | method |
override public function clone():Event
Returns
Event |
MEDIA_PLAYER_ADS_CHANGE | Constant |
public static const MEDIA_PLAYER_ADS_CHANGE:String = mediaPlayerAdsChange
The type of the event dispatched when the ads property on the MediaPlayer has changed.
MEDIA_PLAYER_CURRENT_TIME_CHANGE | Constant |
public static const MEDIA_PLAYER_CURRENT_TIME_CHANGE:String = mediaPlayerCurrentTimeChange
The type of the event dispatched when the currentTime property on the MediaPlayer has changed
MEDIA_PLAYER_DURATION_CHANGE | Constant |
public static const MEDIA_PLAYER_DURATION_CHANGE:String = mediaPlayerDurationChange
The type of the event dispatched when the duration property on the MediaPlayer has changed
MEDIA_PLAYER_ITEM_REPLACE | Constant |
public static const MEDIA_PLAYER_ITEM_REPLACE:String = mediaPlayerItemReplace
The type of the event dispatched when a MediaPlayerItem is replaced
MEDIA_PLAYER_PLAY_COMPLETE | Constant |
public static const MEDIA_PLAYER_PLAY_COMPLETE:String = mediaPlayerPlayComplete
The type of the event dispatched when the playback of the MediaPlayerItem is complete
MEDIA_PLAYER_PLAY_START | Constant |
public static const MEDIA_PLAYER_PLAY_START:String = mediaPlayerPlayStart
The type of the event dispatched when the playback of the MediaPlayerItem has started
MEDIA_PLAYER_RELATIVE_TIME_OFFSET_CHANGE | Constant |
public static const MEDIA_PLAYER_RELATIVE_TIME_OFFSET_CHANGE:String = mediaPlayerRelativeTimeOffsetChange
The type of the event dispatched when the relativeTimeOffset property on the MediaPlayer has changed
MEDIA_PLAYER_VIDEO_RENDER_START | Constant |
public static const MEDIA_PLAYER_VIDEO_RENDER_START:String = mediaPlayerVideoRenderStart
The type of the event dispatched when the playback of the MediaPlayerItem has started and video is visible on the screen
MEDIA_PLAYER_VIEW_IS_USING_STAGE_VIDEO_CHANGE | Constant |
public static const MEDIA_PLAYER_VIEW_IS_USING_STAGE_VIDEO_CHANGE:String = mediaPlayerViewIsUsingStageVideoChange
The type of the event dispatched when the viewIsStageVideo property on the MediaPlayer has changed.
MEDIA_PLAYER_VIEW_VIDEO_BOUNDS_CHANGE | Constant |
public static const MEDIA_PLAYER_VIEW_VIDEO_BOUNDS_CHANGE:String = mediaPlayerViewVideoBoundsChange
The type of the event dispatched when the videoBounds property on the MediaPlayer has changed.