public void PrevPlayAction() { if (!MediaPlayerService.HasStopped) { MediaPlayerService.Stop(); } NewVideoAction(FilePlayerManager.PlaylistManagerViewModel.GetPreviousItem()); }
private void Stop() { if (!MediaPlayerService.HasStopped && !MediaPlayerService.IsDisposed) { MediaPlayerService.Stop(); } DragPositionSlider.IsEnabled = false; DragPositionSlider.Value = 0; }
public void GetVideoItem(VideoFolderChild obj, bool frompl = false) { if (!MediaPlayerService.HasStopped) { MediaPlayerService.Stop(); } FilePlayerManager.VideoElement.ContentDockRegion.Content = null; NewVideoAction(obj, frompl); }
private void Stop_executed(object sender, ExecutedRoutedEventArgs e) { MediaPlayerService.Stop(); ResetVisibilityAnimation(); }