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

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