MediaPlayerMediaBuilder

Methods

Title(System.String)

Specifies the title of the media that will be played

Parameters

title - System.String

Example

Razor
 
               @(Html.Kendo().MediaPlayer()
                       .Name("mediaPlayer")
                       .Media(m => m
                           .Title("ProgressNEXT 2019 Highlights")
                       )
               )
             

Source(System.Object)

Specifies the source of the media that will be played

Parameters

source - System.Object

Example

Razor
 
               @(Html.Kendo().MediaPlayer()
                       .Name("mediaPlayer")
                       .Media(m => m
                           .Source("https://youtu.be/2OvvwWShNWo")
                       )
               )
             
In this article
MethodsTitle(System.String)Source(System.Object)
Not finding the help you need?
Contact Support