Example #1
0
 public void PrevPlayAction()
 {
     if (!MediaPlayerService.HasStopped)
     {
         MediaPlayerService.Stop();
     }
     NewVideoAction(FilePlayerManager.PlaylistManagerViewModel.GetPreviousItem());
 }
Example #2
0
 private void Stop()
 {
     if (!MediaPlayerService.HasStopped && !MediaPlayerService.IsDisposed)
     {
         MediaPlayerService.Stop();
     }
     DragPositionSlider.IsEnabled = false;
     DragPositionSlider.Value     = 0;
 }
Example #3
0
        public void GetVideoItem(VideoFolderChild obj, bool frompl = false)
        {
            if (!MediaPlayerService.HasStopped)
            {
                MediaPlayerService.Stop();
            }

            FilePlayerManager.VideoElement.ContentDockRegion.Content = null;
            NewVideoAction(obj, frompl);
        }
Example #4
0
 private void Stop_executed(object sender, ExecutedRoutedEventArgs e)
 {
     MediaPlayerService.Stop();
     ResetVisibilityAnimation();
 }