private async void Command_UnloadMedia(object sender, ExecutedRoutedEventArgs e) { //MediaPlayer.Stop(); await VideoElement.Stop(); await VideoElement.Close(); MediaLoaded = false; Position.Time = 0; }
private async void Command_UnloadMedia(object sender, ExecutedRoutedEventArgs e) { //MediaPlayer.Stop(); await VideoElement.Stop(); await VideoElement.Close(); MediaLoaded = false; Position.Time = 0; }