MediaPlayerBuilder
Defines the fluent API for configuring the Kendo UI MediaPlayer
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
public class MediaPlayerBuilder : WidgetBuilderBase<MediaPlayer, MediaPlayerBuilder>, IHtmlString
Inheritance: objectWidgetBuilderBase<MediaPlayer, MediaPlayerBuilder>MediaPlayerBuilder
Implements:
Inherited Members
Constructors
Methods
If set to true, the component will automatically start playing the video after initializing.
If set to true, the component will automatically start playing the video after initializing.
public MediaPlayerBuilder AutoPlay(bool value)
The value for AutoPlay
Returns:If set to true, the component will start repeating the video after it has finished.
If set to true, the component will start repeating the video after it has finished.
public MediaPlayerBuilder AutoRepeat(bool value)
The value for AutoRepeat
Returns:Configures the client-side events.
public MediaPlayerBuilder Events(Action<MediaPlayerEventBuilder> configurator)
The client events action.
Returns:If set to false the user will be prevented from seeking the video forward
public MediaPlayerBuilder ForwardSeek(bool value)
The value for ForwardSeek
Returns:If set to true the component will enter in full-sreen mode
If set to true the component will enter in full-sreen mode
public MediaPlayerBuilder FullScreen(bool value)
The value for FullScreen
Returns:Specifies the object which holds the information about the media that will be played
public MediaPlayerBuilder Media(Action<MediaPlayerMediaBuilder> configurator)
The configurator for the Media
Returns:The object which holds the localization strings
public MediaPlayerBuilder Messages(Action<MediaPlayerMessagesBuilder> configurator)
The configurator for the messages setting.
Returns:If set to true the video will be played without sound
If set to true the video will be played without sound
If set to true will enable the keyboard navigation for the component
If set to true will enable the keyboard navigation for the component
public MediaPlayerBuilder Navigatable(bool value)
The value for Navigatable
Returns:A value between 0 and 100 that specifies the volume of the video
public MediaPlayerBuilder Volume(double value)
The value for Volume
Returns: