Defines the fluent API for configuring the Kendo UI MediaPlayer for ASP.NET MVC events.
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
public class MediaPlayerEventBuilder : EventBuilder
Inheritance: objectEventBuilderMediaPlayerEventBuilder
Inherited Members
Constructors
public MediaPlayerEventBuilder(IDictionary<string, object> events)
Methods
Fires when the media finishes playing.The event handler function context (available via the this keyword) will be set to the component instance.
public MediaPlayerEventBuilder End(string handler)
The name of the JavaScript function that will handle the end event.
Returns:Defines the name of the JavaScript function that will handle the KendoKeydown client-side event.
public virtual MediaPlayerEventBuilder KendoKeydown(string handler)
The name of the JavaScript function that will handle the event.
Returns:Fires when the media is paused.The event handler function context (available via the this keyword) will be set to the component instance.
public MediaPlayerEventBuilder Pause(string handler)
The name of the JavaScript function that will handle the pause event.
Returns:Fires when the media begins playing.The event handler function context (available via the this keyword) will be set to the component instance.
public MediaPlayerEventBuilder Play(string handler)
The name of the JavaScript function that will handle the play event.
Returns:Fires when loading is over and the component is ready to start playing the media.The event handler function context (available via the this keyword) will be set to the component instance.
Fires when loading is over and the component is ready to start playing the media.The event handler function context (available via the this keyword) will be set to the component instance.
public MediaPlayerEventBuilder Ready(string handler)
The name of the JavaScript function that will handle the ready event.
Returns:Fires when the user selects a new play time.The event handler function context (available via the this keyword) will be set to the component instance.
Fires when the user selects a new play time.The event handler function context (available via the this keyword) will be set to the component instance.
public MediaPlayerEventBuilder TimeChange(string handler)
The name of the JavaScript function that will handle the timeChange event.
Returns:This event if fired upon changing the volume level.The event handler function context (available via the this keyword) will be set to the component instance.
This event if fired upon changing the volume level.The event handler function context (available via the this keyword) will be set to the component instance.
public MediaPlayerEventBuilder VolumeChange(string handler)
The name of the JavaScript function that will handle the volumeChange event.
Returns: