This question is locked. New answers and comments are not allowed.
When the user clicks the icon in the lower right corner of the player to show the list of videos, is there a way to bind to and display multiple pieces of information related to each video? For example, along with the video title I'd like to display the video date and a genre.
Thanks.
Thanks.
<
telerik:RadMediaPlayer
x:Name
=
"player"
IsChaptersPanelPinned
=
"True"
IsVideoPanelPinned
=
"False"
SelectedIndex
=
"0"
>
<
telerik:RadMediaPlayer.ItemTemplate
>
<
DataTemplate
>
<
telerik:ContainerBinding.ContainerBindings
>
<
telerik:ContainerBindingCollection
>
<
telerik:ContainerBinding
PropertyName
=
"Source"
Binding
=
"{Binding VideoUrl}"
/>
<
telerik:ContainerBinding
PropertyName
=
"Title"
Binding
=
"{Binding Title}"
/>
<telerik:ContainerBinding PropertyName="Content" Binding="{Binding Title}"/>
</
telerik:ContainerBindingCollection
>
</
telerik:ContainerBinding.ContainerBindings
>
<
StackPanel
Orientation
=
"Horizontal"
>
<
StackPanel
Margin
=
"8"
>
<
TextBlock
Text
=
"Name: "
FontWeight
=
"Normal"
/>
<
TextBlock
Text
=
"{Binding}"
Margin
=
"4"
FontWeight
=
"Bold"
/>
</
StackPanel
>
</
StackPanel
>
</
DataTemplate
>
</
telerik:RadMediaPlayer.ItemTemplate
>
</
telerik:RadMediaPlayer
>
public class Video
{
public string Title { get; set; }
public DateTime UploadDate { get; set; }
public string Category { get; set; }
public string MediaType { get; set; }
public string Region { get; set; }
public string VideoDescription { get; set; }
public string VideoUrl { get; set; }
}