async void PauseMedia() { await Dispatcher.RunAsync(Windows.UI.Core.CoreDispatcherPriority.Normal, () => { Video1.Pause(); }); }
private void btnPause_Click(object sender, RoutedEventArgs e) { Video1.Pause(); }