Edit this page

Kendo.Mvc.UI.Fluent.MediaPlayerEventBuilder

Defines the fluent API for configuring the Kendo UI MediaPlayer for ASP.NET MVC events.

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 additional information check the end event documentation.

Parameters

handler System.String

The name of the JavaScript function that will handle the end event.

End(System.Func<System.Object,System.Object>)

Fires when the media finishes playing.The event handler function context (available via the this keyword) will be set to the widget instance.

For additional information check the end event documentation.

Parameters

handler System.Func<System.Object,System.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 additional information check the pause event documentation.

Parameters

handler System.String

The name of the JavaScript function that will handle the pause event.

Pause(System.Func<System.Object,System.Object>)

Fires when the media is paused.The event handler function context (available via the this keyword) will be set to the widget instance.

For additional information check the pause event documentation.

Parameters

handler System.Func<System.Object,System.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 additional information check the play event documentation.

Parameters

handler System.String

The name of the JavaScript function that will handle the play event.

Play(System.Func<System.Object,System.Object>)

Fires when the media begins playing.The event handler function context (available via the this keyword) will be set to the widget instance.

For additional information check the play event documentation.

Parameters

handler System.Func<System.Object,System.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 additional information check the ready event documentation.

Parameters

handler System.String

The name of the JavaScript function that will handle the ready event.

Ready(System.Func<System.Object,System.Object>)

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 additional information check the ready event documentation.

Parameters

handler System.Func<System.Object,System.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 additional information check the timeChange event documentation.

Parameters

handler System.String

The name of the JavaScript function that will handle the timeChange event.

TimeChange(System.Func<System.Object,System.Object>)

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 additional information check the timeChange event documentation.

Parameters

handler System.Func<System.Object,System.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 additional information check the volumeChange event documentation.

Parameters

handler System.String

The name of the JavaScript function that will handle the volumeChange event.

VolumeChange(System.Func<System.Object,System.Object>)

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 additional information check the volumeChange event documentation.

Parameters

handler System.Func<System.Object,System.Object>

The handler code wrapped in a text tag.