This is a migrated thread and some comments may be shown as answers.

[Solved] Playlist not shown after recent update

1 Answer 67 Views
MediaPlayer
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Roger
Top achievements
Rank 1
Roger asked on 01 Dec 2010, 05:50 PM
This worked just fine for nearly a year now:
<telerik:RadMediaPlayer x:Name="RadMediaPlayer1" IsPlaylistVisible="True">

As of the last update I downloaded to the controls, what I get now is that it defaults to showing the first video in the list, with a play button.The user now has to click the 'list' icon on the bottom right to see the list of videos.

What changed? How can I get back the previous functionality?

1 Answer, 1 is accepted

Sort by
0
Hristo
Telerik team
answered on 06 Dec 2010, 10:23 AM
Hello Roger,

We made some changes to the media player that unfortunately introduced this issue. I've logged the issue in our public issue tracking system and the item should be available tomorrow the latest. You can follow for its progress when searching for "MediaPlayer: IsPlaylistVisible property does not work correctly when set in component tag". I also gave you 1000 telerik points to your account.

In order to get back the previous functionality you can change the play list property in dispatcher like this (directly in the MainPage constructor or in the loaded event):

public MainPage()
{
    InitializeComponent();
    this.SamplePlayer.Loaded += new RoutedEventHandler(SamplePlayer_Loaded);
    //this.Dispatcher.BeginInvoke(() => { this.SamplePlayer.IsPlaylistVisible = true; });
}
 
void SamplePlayer_Loaded(object sender, RoutedEventArgs e)
{
    this.Dispatcher.BeginInvoke(() => { this.SamplePlayer.IsPlaylistVisible = true; });
}

Hope this helps. Please let us know if the provided solution is not applicable to your case or you need more info.


Best wishes,
Hristo
the Telerik team
Browse the videos here>> to help you get started with RadControls for Silverlight
Tags
MediaPlayer
Asked by
Roger
Top achievements
Rank 1
Answers by
Hristo
Telerik team
Share this question
or