| Package | com.adobe.mediacore |
| Interface | public interface MediaPlayer extends flash.events.IEventDispatcher |
| Implementors | AdvancedMediaPlayer |
| Property | Defined By | ||
|---|---|---|---|
| adaptiveStreamingBitrateRelativeErrorMargin : Number | MediaPlayer | ||
| adaptiveStreamingMaxDecisionHistoryLength : uint | MediaPlayer | ||
| appMeasurement : Object
The AppMeasurement object used for SiteCatalyst integration to the MediaPlayer. | MediaPlayer | ||
| audioPan : Number
The left-to-right panning of the sound. | MediaPlayer | ||
| autoPlay : Boolean
Flag indicating if the player will automatically
start playing the media stream once all the data is available.
Defaults to false. | MediaPlayer | ||
| bufferLength : Number [read-only]
Length of the content currently in the media's
buffer, in seconds. | MediaPlayer | ||
| bufferTime : Number
Desired length of the media's buffer, in seconds. | MediaPlayer | ||
| config : MediaPlayerConfig
Media player configuration. | MediaPlayer | ||
| currentItem : MediaPlayerItem [read-only]
The current playback item. | MediaPlayer | ||
| currentTime : Number [read-only]
The current playhead time, in seconds, as reported by the underlying
components. | MediaPlayer | ||
| currentTimeUpdateInterval : uint
Interval between the dispatch of change events for the current time
in milliseconds. | MediaPlayer | ||
| drmManager : DRMManager [read-only]
The DRMManager object associated to the current MediaPlayer. | MediaPlayer | ||
| duration : Number [read-only]
The duration of the media item, in seconds. | MediaPlayer | ||
| enableAdaptiveStreamingBufferRatioPolicy : Boolean | MediaPlayer | ||
| enableAdaptiveStreamingEmptyBufferRule : Boolean
[Experimental]
Specifies whether or not to use the Empty Buffer Rule in the Adaptive Streaming switching algorihtm.
Changing this value will take effect only for subsequent MediaPlayerItems. | MediaPlayer | ||
| enableAdaptiveStreamingProcessingTimeMeasurement : Boolean | MediaPlayer | ||
| enableBestEffortDropoutFetches : Boolean
If true and best effort fetch is enabled on the server side, best effort fetches will occur during dropouts. | MediaPlayer | ||
| enableBestEffortLivenessFetches : Boolean
If true and best effort fetch is enabled on the server side, best effort fetches will occur during liveness. | MediaPlayer | ||
| enablePreRollAd : Boolean
Indicates whether the player will start with a pre-roll Ad. | MediaPlayer | ||
| error : MediaError [read-only]
The media player last error. | MediaPlayer | ||
| fetchTimeout : Number
When making a request, this is the number of milliseconds to wait before
that attempt is considered a timout. | MediaPlayer | ||
| isPlayingAd : Boolean [read-only]
Gets whether the player is playing ad. | MediaPlayer | ||
| logEnabled : Boolean
In-Memory logging can be enabled using this property. | MediaPlayer | ||
| logSize : uint
Specifies the number of lines of log to be kept in memory. | MediaPlayer | ||
| logText : String [read-only]
Returns the current logging information from the in-memory buffer. | MediaPlayer | ||
| maximumRetries : int
The maximum number of time to retry a download. | MediaPlayer | ||
| muted : Boolean [read-only]
Indicates if the audio is currently muted. | MediaPlayer | ||
| playAdsInTrickplay : Boolean
Specified whether or not to use trickplay mode in ads that support
trickplay mode. | MediaPlayer | ||
| presentationDelay : Number
The delay from the live point in live/DVR where playback should begin. | MediaPlayer | ||
| rate : Number
The playback rate (for trick play)
| MediaPlayer | ||
| relativeTimeOffset : Number [read-only]
Value to be added to the time properties (currentTime and duration)
to obtain the absolute values. | MediaPlayer | ||
| retryInterval : Number
The number of milliseconds to wait between retries. | MediaPlayer | ||
| smpteTimeCodes : Vector.<SMPTETimecodeInfo> [read-only]
The smpte time codes found in the manifest file. | MediaPlayer | ||
| status : String [read-only]
Returns the status of the player. | MediaPlayer | ||
| view : DisplayObject [read-only]
The video view which will host the playback surface. | MediaPlayer | ||
| viewIsUsingStageVideo : Boolean [read-only]
States whether the view is using a stage video or not. | MediaPlayer | ||
| viewRenderingProperties : ViewRenderingProperties [read-only]
Settings for configuring the underlying StageVideo or Video
rendering engines
| MediaPlayer | ||
| viewScaleMode : String
Scaling policy for video display. | MediaPlayer | ||
| viewVideoBounds : Rectangle [read-only]
The current bounds of the video, expressed in coordinates local to MediaPlayer.view. | MediaPlayer | ||
| volume : Number
Volume of the media. | MediaPlayer | ||
| Method | Defined By | ||
|---|---|---|---|
getTimeline():Vector.<TimelineMarker>
Exposes the managed timeline containing only ad breaks. | MediaPlayer | ||
pause():void
Pauses the playback of the current media item. | MediaPlayer | ||
play():void
Initiate the playback of the current media item. | MediaPlayer | ||
prepareToPlay(startTime:Number):void
Prepares a movie for playback. | MediaPlayer | ||
release():void
Releases the internal resources of the player, freeing memory. | MediaPlayer | ||
replaceCurrentItemWithPlayerItem(item:MediaPlayerItem):void
Replaces the current media player item with the one specified. | MediaPlayer | ||
reset():void
Resets the player to the INITIALIZING state and deallocates the item. | MediaPlayer | ||
seek(time:Number):void
Initiates a seek to the specified time. | MediaPlayer | ||
throttle():void
Lets the player know that the runtime is throttling. | MediaPlayer | ||
| Event | Summary | Defined By | ||
|---|---|---|---|---|
| Dispatched when the playback of the ad break has completed (the playhead has exited the ad break) | MediaPlayer | |||
| Dispatched when the playhead has entered an ad break | MediaPlayer | |||
| Dispatched when the playback of the ad has completed (the playhead has exited the ad) | MediaPlayer | |||
| Dispatched as the playhead progresses through the ad | MediaPlayer | |||
| Dispatched when the ad request to the ad server failed | MediaPlayer | |||
| Dispatched when the playhead has entered an ad | MediaPlayer | |||
| Dispatched when the bitrate of the current played media changes. | MediaPlayer | |||
| Dispatched to notify when the player has finished buffering. | MediaPlayer | |||
| Dispatched to notify when the player has started buffering. | MediaPlayer | |||
| Dispatched to notify when new caption info/data is available to be processed. | MediaPlayer | |||
| Dispatched to notify that a new CC service has become active on the current item. | MediaPlayer | |||
| Dispatched to notify when a DRM Metadata is available from the media. | MediaPlayer | |||
| Dispatched to notify when a fragment was successfully downloaded. | MediaPlayer | |||
| Dispatched when the ads property of the media player changes. | MediaPlayer | |||
| Dispatched when the currentTime property is updated. | MediaPlayer | |||
| Dispatched when the duration property is updated. | MediaPlayer | |||
| Dispatched when the MediaPlayerItem is replaced | MediaPlayer | |||
| Dispatched when playback has completed | MediaPlayer | |||
| Dispatched when playback has started | MediaPlayer | |||
| Dispatched when the relativeTimeOffset property is updated. | MediaPlayer | |||
| Dispatched when the status of the media player changes | MediaPlayer | |||
| Dispatched when playback has started and video is visible on screen | MediaPlayer | |||
| Dispatched when the viewIsUsingStageVideo of the media player changes. | MediaPlayer | |||
| Dispatched when the videoBounds of the media player changes. | MediaPlayer | |||
| Dispatched when the audioPan property of the media player changes. | MediaPlayer | |||
| Dispatch with the current time update and contains basic QoS information such as bitrate, fps, and dropped frames. | MediaPlayer | |||
| Deprecated. | MediaPlayer | |||
| Dispatched when a new playback rate has started playback | MediaPlayer | |||
| Dispatched when a new playback rate has been selected | MediaPlayer | |||
| Dispatched to notify that a seek operation was completed | MediaPlayer | |||
| Dispatched to notify that a seek operation was initiated | MediaPlayer | |||
| Dispatched when the volume property of the media player changes. | MediaPlayer | |||
| adaptiveStreamingBitrateRelativeErrorMargin | property |
adaptiveStreamingBitrateRelativeErrorMargin:Number public function get adaptiveStreamingBitrateRelativeErrorMargin():Number public function set adaptiveStreamingBitrateRelativeErrorMargin(value:Number):void| adaptiveStreamingMaxDecisionHistoryLength | property |
adaptiveStreamingMaxDecisionHistoryLength:uint public function get adaptiveStreamingMaxDecisionHistoryLength():uint public function set adaptiveStreamingMaxDecisionHistoryLength(value:uint):void| appMeasurement | property |
appMeasurement:ObjectThe AppMeasurement object used for SiteCatalyst integration to the MediaPlayer.
To ensure correct tracking, this method must be called before playback has begun.
public function get appMeasurement():Object public function set appMeasurement(value:Object):voidan — ArgumentError if the AppMeasurement object is invalid
The object is invalid if it does not comply with the following:
|
| audioPan | property |
audioPan:NumberThe left-to-right panning of the sound. Ranges from -1 (full pan left) to 1 (full pan right). A value of 0 represents no panning (balanced center between right and left). It is safe to set this value before playing any media with audio. It will not trigger an error. The value will be preserved and set as soon the audio will be available.
public function get audioPan():Number public function set audioPan(value:Number):void| autoPlay | property |
autoPlay:Boolean
Flag indicating if the player will automatically start playing the media stream once all the data is available.
Defaults to false. public function get autoPlay():Boolean public function set autoPlay(value:Boolean):void| bufferLength | property |
bufferLength:Number [read-only] Length of the content currently in the media's buffer, in seconds.
public function get bufferLength():Number| bufferTime | property |
bufferTime:NumberDesired length of the media's buffer, in seconds. The minimum recommended value is the duration of two fragments.
Setting this to a value smaller than 0.1 will throw an ArgumentError since negative and values smaller than 0.1 are not supported.
Note that this should not be used to specify how far from the live point the playback should begin in live/DVR use-cases. You should use presentationDelay for that.
bufferTime and presentationDelay are not
additive. The bufferTime should always be set to a value lower than
presentationDelay.
The default is 8 seconds (considering a default duration of a fragment of 4 seconds).
public function get bufferTime():Number public function set bufferTime(value:Number):voidArgumentError — if the value given is smaller than 0.1 or negative
|
See also
| config | property |
config:MediaPlayerConfigMedia player configuration. Allows for configuration and customization of various media player components like content resolving or analytics service.
public function get config():MediaPlayerConfig public function set config(value:MediaPlayerConfig):void| currentItem | property |
currentItem:MediaPlayerItem [read-only] The current playback item.
public function get currentItem():MediaPlayerItem| currentTime | property |
currentTime:Number [read-only] The current playhead time, in seconds, as reported by the underlying components. The playhead time is calculated relative to the resolved stream, one which can contain multiple ads inserted.
public function get currentTime():Number| currentTimeUpdateInterval | property |
currentTimeUpdateInterval:uintInterval between the dispatch of change events for the current time in milliseconds.
The default is 250 milliseconds. A zero value disables the dispatch of the change events.
The minimum accepted value (except zero) is 50 milliseconds, due to performance concerns. Attempting to set the interval to a lower value will result in it being set to 50
public function get currentTimeUpdateInterval():uint public function set currentTimeUpdateInterval(value:uint):void| drmManager | property |
drmManager:DRMManager [read-only] The DRMManager object associated to the current MediaPlayer.
public function get drmManager():DRMManager| duration | property |
duration:Number [read-only] The duration of the media item, in seconds.
The duration is calculated based on the media item and any associated elements (ads, slates, etc). For live streams, this will return the duration of the rolling window.
To check the native duration of the media without additional elements (ads, slates etc), inspect the duration of the MediaPlayerItem.
public function get duration():NumberSee also
| enableAdaptiveStreamingBufferRatioPolicy | property |
enableAdaptiveStreamingBufferRatioPolicy:Boolean public function get enableAdaptiveStreamingBufferRatioPolicy():Boolean public function set enableAdaptiveStreamingBufferRatioPolicy(value:Boolean):void| enableAdaptiveStreamingEmptyBufferRule | property |
enableAdaptiveStreamingEmptyBufferRule:Boolean[Experimental]
Specifies whether or not to use the Empty Buffer Rule in the Adaptive Streaming switching algorihtm.
Changing this value will take effect only for subsequent MediaPlayerItems. The currently playing item will not be affected.
Defaults to false.
public function get enableAdaptiveStreamingEmptyBufferRule():Boolean public function set enableAdaptiveStreamingEmptyBufferRule(value:Boolean):void| enableAdaptiveStreamingProcessingTimeMeasurement | property |
enableAdaptiveStreamingProcessingTimeMeasurement:Boolean public function get enableAdaptiveStreamingProcessingTimeMeasurement():Boolean public function set enableAdaptiveStreamingProcessingTimeMeasurement(value:Boolean):void| enableBestEffortDropoutFetches | property |
enableBestEffortDropoutFetches:BooleanIf true and best effort fetch is enabled on the server side, best effort fetches will occur during dropouts. Otherwise, best effort fetches will not occur during dropouts (even if best effort fetch is enabled on the server side).
The default value is true.
public function get enableBestEffortDropoutFetches():Boolean public function set enableBestEffortDropoutFetches(value:Boolean):void| enableBestEffortLivenessFetches | property |
enableBestEffortLivenessFetches:BooleanIf true and best effort fetch is enabled on the server side, best effort fetches will occur during liveness. Otherwise, best effort fetches will not occur during liveness (even if best effort fetch is enabled on the server side).
The default value is true.
public function get enableBestEffortLivenessFetches():Boolean public function set enableBestEffortLivenessFetches(value:Boolean):void| enablePreRollAd | property |
enablePreRollAd:BooleanIndicates whether the player will start with a pre-roll Ad. This applies only to live/linear streams.
public function get enablePreRollAd():Boolean public function set enablePreRollAd(value:Boolean):void| error | property |
error:MediaError [read-only] The media player last error.
When an error occurs the media player transitions to the MediaPlayerStatus.ERROR status and saves the error in this value of this property.
The codes of the P-SDK errors are defined in
com.adobe.mediacore.notifications.NotificationsCodes (the ones
starting with the digit 1).
public function get error():MediaErrorSee also
| fetchTimeout | property |
fetchTimeout:NumberWhen making a request, this is the number of milliseconds to wait before that attempt is considered a timout. If they are enabled, retries will occur in the event of a timeout. A value of -1 indicates that the request will wait forever. Must be >= 0.
The default value is 30000.
public function get fetchTimeout():Number public function set fetchTimeout(value:Number):void| isPlayingAd | property |
isPlayingAd:Boolean [read-only] Gets whether the player is playing ad.
public function get isPlayingAd():Boolean| logEnabled | property |
logEnabled:BooleanIn-Memory logging can be enabled using this property.
public function get logEnabled():Boolean public function set logEnabled(value:Boolean):void| logSize | property |
logSize:uintSpecifies the number of lines of log to be kept in memory. In-memory log buffer is cleared each time this property is set.
public function get logSize():uint public function set logSize(value:uint):void| logText | property |
logText:String [read-only] Returns the current logging information from the in-memory buffer.
public function get logText():String| maximumRetries | property |
maximumRetries:intThe maximum number of time to retry a download. A value of -1 indicates that an infinite number of retries will occur. Must be >= 0 or -1.
The default value is 5..
public function get maximumRetries():int public function set maximumRetries(value:int):void| muted | property |
muted:Boolean [read-only] Indicates if the audio is currently muted.
public function get muted():Boolean| playAdsInTrickplay | property |
playAdsInTrickplay:BooleanSpecified whether or not to use trickplay mode in ads that support trickplay mode.
Changing this value will take effect on the next ad that is scheduled for playing/.
Defaults to false.
public function get playAdsInTrickplay():Boolean public function set playAdsInTrickplay(value:Boolean):void| presentationDelay | property |
presentationDelay:NumberThe delay from the live point in live/DVR where playback should begin. This delay is only used when beginning playback. During playback it is possible for the playhead to drift ahead/behind.
presentationDelay and bufferTime are not additive.
This means that the buffer will consume portions of the presentationDelay.
The presentationDelay should always be set to a higher value than
bufferTime.
The minimum recommended value is the duration of four fragments.
Note: The value set here will take effect over all the media players in the same application.
Default is 16 seconds (considering a default duration of a fragment of 4 seconds). public function get presentationDelay():Number public function set presentationDelay(value:Number):voidSee also
| rate | property |
rate:NumberThe playback rate (for trick play)
public function get rate():Number public function set rate(value:Number):void| relativeTimeOffset | property |
relativeTimeOffset:Number [read-only] Value to be added to the time properties (currentTime and duration) to obtain the absolute values.
public function get relativeTimeOffset():Number| retryInterval | property |
retryInterval:NumberThe number of milliseconds to wait between retries. A value of 0 indicates that no delay will occur between items. Must be >= 0.
The default value is 4000.
public function get retryInterval():Number public function set retryInterval(value:Number):void| smpteTimeCodes | property |
smpteTimeCodes:Vector.<SMPTETimecodeInfo> [read-only] The smpte time codes found in the manifest file. Returns a vector of basetype SMPTETimeCodeInfo
public function get smpteTimeCodes():Vector.<SMPTETimecodeInfo>| status | property |
status:String [read-only] Returns the status of the player.
public function get status():StringSee also
| view | property |
view:DisplayObject [read-only] The video view which will host the playback surface. The client will use this property to position and resize the video display.
public function get view():DisplayObject| viewIsUsingStageVideo | property |
viewIsUsingStageVideo:Boolean [read-only] States whether the view is using a stage video or not.
public function get viewIsUsingStageVideo():Boolean| viewRenderingProperties | property |
viewRenderingProperties:ViewRenderingProperties [read-only] Settings for configuring the underlying StageVideo or Video rendering engines
public function get viewRenderingProperties():ViewRenderingProperties| viewScaleMode | property |
viewScaleMode:StringScaling policy for video display.
public function get viewScaleMode():String public function set viewScaleMode(value:String):void| viewVideoBounds | property |
viewVideoBounds:Rectangle [read-only] The current bounds of the video, expressed in coordinates local to MediaPlayer.view.
public function get viewVideoBounds():Rectangle| volume | property |
volume:NumberVolume of the media. Ranges from 0 (silent) to 1 (full volume). It is safe to set this value before playing any media with audio. It will not trigger an error. The value will be preserved and set as soon the audio will be available.
public function get volume():Number public function set volume(value:Number):void| getTimeline | () | method |
public function getTimeline():Vector.<TimelineMarker>Exposes the managed timeline containing only ad breaks.
ReturnsVector.<TimelineMarker> — Vector.<TimelineMarker>
|
| pause | () | method |
public function pause():voidPauses the playback of the current media item. If the playback was already paused or stopped, this method has no effect. In order to resume the playback of the current media item, call the play method.
| play | () | method |
public function play():voidInitiate the playback of the current media item. If the current media item was paused, then invoking this command will resume the playback for where it was paused, other wise it will start the playback from the beginning. if the current media item is not yet initialized or is not ready to play it will invoke prepareToPlay first.
| prepareToPlay | () | method |
public function prepareToPlay(startTime:Number):voidPrepares a movie for playback. If passed a startTime parameter, it will prepare the media for playback starting with the specified startTime. If the client calls play method directly and the media item is not yet initialized or ready to play, the media player will invoke this method automatically.
Parameters
startTime:Number (default = NaN) |
| release | () | method |
public function release():voidReleases the internal resources of the player, freeing memory. The player will be stuck in the RELEASED state, will be unusable and waiting to be deallocated.
| replaceCurrentItemWithPlayerItem | () | method |
public function replaceCurrentItemWithPlayerItem(item:MediaPlayerItem):voidReplaces the current media player item with the one specified.
Parameters
item:MediaPlayerItem |
| reset | () | method |
public function reset():voidResets the player to the INITIALIZING state and deallocates the item.
| seek | () | method |
public function seek(time:Number):voidInitiates a seek to the specified time. This method will not change the status of the MediaPlayer. The seek operation is asynchronous. An event will be dispatched to signal the completion of the seek operation.
Parameters
time:Number |
| throttle | () | method |
public function throttle():voidLets the player know that the runtime is throttling. Use this to preserve early throttle events.
No further action is required, as subsequent runtime throttle events will be managed by the MediaPlayer.
This can be called only when the player's status is MediaPlayerStatus.INITIALIZED.
See also
| adBreakComplete | Event |
com.adobe.mediacore.events.AdBreakEventDispatched when the playback of the ad break has completed (the playhead has exited the ad break)
| adBreakStart | Event |
com.adobe.mediacore.events.AdBreakEventDispatched when the playhead has entered an ad break
| adComplete | Event |
com.adobe.mediacore.events.AdEventDispatched when the playback of the ad has completed (the playhead has exited the ad)
| adProgress | Event |
com.adobe.mediacore.events.AdEventDispatched as the playhead progresses through the ad
| adResolverFail | Event |
com.adobe.mediacore.events.AdResolverEventDispatched when the ad request to the ad server failed
| adStart | Event |
com.adobe.mediacore.events.AdEventDispatched when the playhead has entered an ad
| bitrateChange | Event |
com.adobe.mediacore.events.BitrateChangeEventDispatched when the bitrate of the current played media changes.
| bufferingEnd | Event |
com.adobe.mediacore.events.BufferEventDispatched to notify when the player has finished buffering.
| bufferingStart | Event |
com.adobe.mediacore.events.BufferEventDispatched to notify when the player has started buffering.
| captionInfo | Event |
com.adobe.mediacore.events.CaptionInfoEventDispatched to notify when new caption info/data is available to be processed.
| ccNewActiveService | Event |
com.adobe.mediacore.events.ClosedCaptioningEventDispatched to notify that a new CC service has become active on the current item.
| drmMetadataAvailable | Event |
com.adobe.mediacore.events.DRMInfoEventDispatched to notify when a DRM Metadata is available from the media.
| fragmentDownloadInfo | Event |
com.adobe.mediacore.events.FragmentDownloadInfoEventDispatched to notify when a fragment was successfully downloaded.
| mediaPlayerAdsChange | Event |
com.adobe.mediacore.events.MediaPlayerEventDispatched when the ads property of the media player changes.
| mediaPlayerCurrentTimeChange | Event |
com.adobe.mediacore.events.MediaPlayerEventDispatched when the currentTime property is updated. To configure the interval at which this event is dispatched set the currentTimeUpdateInterval property
| mediaPlayerDurationChange | Event |
com.adobe.mediacore.events.MediaPlayerEventDispatched when the duration property is updated.
| mediaPlayerItemReplace | Event |
com.adobe.mediacore.events.MediaPlayerEventDispatched when the MediaPlayerItem is replaced
| mediaPlayerPlayComplete | Event |
com.adobe.mediacore.events.MediaPlayerEventDispatched when playback has completed
| mediaPlayerPlayStart | Event |
| mediaPlayerRelativeTimeOffsetChange | Event |
com.adobe.mediacore.events.MediaPlayerEventDispatched when the relativeTimeOffset property is updated.
| mediaPlayerStatusChange | Event |
com.adobe.mediacore.events.MediaPlayerStatusChangeEventDispatched when the status of the media player changes
| mediaPlayerVideoRenderStart | Event |
com.adobe.mediacore.events.MediaPlayerEventDispatched when playback has started and video is visible on screen
| mediaPlayerViewIsUsingStageVideoChange | Event |
com.adobe.mediacore.events.MediaPlayerEventDispatched when the viewIsUsingStageVideo of the media player changes.
| mediaPlayerViewVideoBoundsChange | Event |
com.adobe.mediacore.events.MediaPlayerEventDispatched when the videoBounds of the media player changes.
| panChange | Event |
com.adobe.mediacore.events.AudioChangeEventDispatched when the audioPan property of the media player changes.
| qosInfo | Event |
com.adobe.mediacore.events.QoSEventDispatch with the current time update and contains basic QoS information such as bitrate, fps, and dropped frames.
| rateChange | Event |
com.adobe.mediacore.events.PlaybackRateEventDeprecated. Listen to PlaybackRateEvent.RATE_SELECT instead. Dispatched when a new playback rate has been selected
| ratePlaying | Event |
com.adobe.mediacore.events.PlaybackRateEventDispatched when a new playback rate has started playback
| rateSelect | Event |
com.adobe.mediacore.events.PlaybackRateEventDispatched when a new playback rate has been selected
| seekComplete | Event |
com.adobe.mediacore.events.SeekEventDispatched to notify that a seek operation was completed
| seekStart | Event |
com.adobe.mediacore.events.SeekEventDispatched to notify that a seek operation was initiated
| volumeChange | Event |
com.adobe.mediacore.events.AudioChangeEventDispatched when the volume property of the media player changes.