New to Telerik UI for ASP.NET Core? Download free 30-day trial

MediaPlayerMediaBuilder

Methods

Title(System.String)

Specifies the title of the media that will be played

Parameters

title - System.String

Example


               @(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


               @(Html.Kendo().MediaPlayer()
                       .Name("mediaPlayer")
                       .Media(m => m
                           .Source("https://youtu.be/2OvvwWShNWo")
                       )
               )

In this article
Not finding the help you need?