Ejemplo n.º 1
0
 private void Pausar_Click(object sender, RoutedEventArgs e)
 {
     MyVideo.Pause();
     estado = false;
     ReproducirBtn.Visibility = Visibility.Visible;
     Pausar.Visibility        = Visibility.Collapsed;
 }
Ejemplo n.º 2
0
 private void PauseOrPlayControl()
 {
     if (MyVideo.CurrentState == MediaElementState.Paused)
     {
         MyVideo.Play();
         PauseOrPlay.Content           = "\uE103";
         BigControlPlayOrPause.Content = "\uE103";
     }
     else
     {
         MyVideo.Pause();
         PauseOrPlay.Content           = "\uE102";
         BigControlPlayOrPause.Content = "\uE102";
     }
 }