void the_media_MediaOpened(object sender, RoutedEventArgs e) { the_media.Visibility = System.Windows.Visibility.Visible; the_item.Background = Brushes.White; the_item.Height = the_media.Height; //the_media.Play(); }