The fluent API for the Media Player.
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
C#
public class MediaPlayerMediaBuilder
Inheritance: objectMediaPlayerMediaBuilder
Inherited Members
Constructors
Initializes a new instance of the MediaPlayerMediaBuilder class.
C#
public MediaPlayerMediaBuilder(MediaPlayer component)
The MediaPlayer
Properties
Gets the MediaPlayer instance
C#
protected MediaPlayer Component { get; }
Methods
Specifies the source of the media that will be played
C#
public MediaPlayerMediaBuilder Source(object source)
An instance of MediaPlayerMediaBuilder with the available configuration options.
Specifies the title of the media that will be played
C#
public MediaPlayerMediaBuilder Title(string title)
An instance of MediaPlayerMediaBuilder with the available configuration options.