Exception in DownloadProgressChanged which causes being non visible

Sep 29, 2009 at 10:49 AM

There is an exception in mediaControl.xaml.cs:

void _media_DownloadProgressChanged(object sender, RoutedEventArgs e)
        {
                // get the scale transform
                Rectangle progress = sliderTimeline.ProgressBar;
                progress.RenderTransform.SetValue(ScaleTransform.ScaleXProperty, _media.DownloadProgress);
        }

 

That causes the media player not to be visible on some of the pages, and be not visible