MediaPlayerEventBuilder
Methods
End(System.String)
Fires when the media finishes playing.The event handler function context (available via the this keyword) will be set to the widget instance.
For more information see End event.
Parameters
handler - System.String
The name of the JavaScript function that will handle the end event.
End(System.Func)
Fires when the media finishes playing.The event handler function context (available via the this keyword) will be set to the widget instance.
For more information see End event.
Parameters
handler - System.Func<Object,Object>
The handler code wrapped in a text tag.
Pause(System.String)
Fires when the media is paused.The event handler function context (available via the this keyword) will be set to the widget instance.
For more information see Pause event.
Parameters
handler - System.String
The name of the JavaScript function that will handle the pause event.
Pause(System.Func)
Fires when the media is paused.The event handler function context (available via the this keyword) will be set to the widget instance.
For more information see Pause event.
Parameters
handler - System.Func<Object,Object>
The handler code wrapped in a text tag.
Play(System.String)
Fires when the media begins playing.The event handler function context (available via the this keyword) will be set to the widget instance.
For more information see Play event.
Parameters
handler - System.String
The name of the JavaScript function that will handle the play event.
Play(System.Func)
Fires when the media begins playing.The event handler function context (available via the this keyword) will be set to the widget instance.
For more information see Play event.
Parameters
handler - System.Func<Object,Object>
The handler code wrapped in a text tag.
Ready(System.String)
Fires when loading is over and the widget is ready to start playing the media.The event handler function context (available via the this keyword) will be set to the widget instance.
For more information see Ready event.
Parameters
handler - System.String
The name of the JavaScript function that will handle the ready event.
Ready(System.Func)
Fires when loading is over and the widget is ready to start playing the media.The event handler function context (available via the this keyword) will be set to the widget instance.
For more information see Ready event.
Parameters
handler - System.Func<Object,Object>
The handler code wrapped in a text tag.
TimeChange(System.String)
Fires when the user selects a new play time.The event handler function context (available via the this keyword) will be set to the widget instance.
For more information see TimeChange event.
Parameters
handler - System.String
The name of the JavaScript function that will handle the timeChange event.
TimeChange(System.Func)
Fires when the user selects a new play time.The event handler function context (available via the this keyword) will be set to the widget instance.
For more information see TimeChange event.
Parameters
handler - System.Func<Object,Object>
The handler code wrapped in a text tag.
VolumeChange(System.String)
This event if fired upon changing the volume level.The event handler function context (available via the this keyword) will be set to the widget instance.
For more information see VolumeChange event.
Parameters
handler - System.String
The name of the JavaScript function that will handle the volumeChange event.
VolumeChange(System.Func)
This event if fired upon changing the volume level.The event handler function context (available via the this keyword) will be set to the widget instance.
For more information see VolumeChange event.
Parameters
handler - System.Func<Object,Object>
The handler code wrapped in a text tag.