private void SliderTimeOnDragCompleted(object sender, System.Windows.Controls.Primitives.DragCompletedEventArgs e) { MediaElementLeft.Play(); MediaElementRight.Play(); MediaElementFront.Play(); MediaElementBack.Play(); }
private void ButtonPlayPauseOnClick(object sender, RoutedEventArgs e) { if (_isPaused) { MediaElementLeft.Play(); MediaElementRight.Play(); MediaElementFront.Play(); MediaElementBack.Play(); } else { MediaElementLeft.Pause(); MediaElementRight.Pause(); MediaElementFront.Pause(); MediaElementBack.Pause(); } _isPaused = !_isPaused; }