Exemplo n.º 1
0
 public void PlayAfterPauseVideo()
 {
     if (DodoMediaPlayer.Source != null && DodoMediaPlayer.Source.OriginalString != string.Empty)
     {
         DodoMediaPlayer.Play();
     }
 }
Exemplo n.º 2
0
 public void PositionBackVideo()
 {
     if (DodoMediaPlayer.Source != null)
     {
         DodoMediaPlayer.Position = DodoMediaPlayer.Position - new TimeSpan(0, 0, 20);
         DodoMediaPlayer.Play();
     }
 }
Exemplo n.º 3
0
 public void PlayVideo(VideoDetails videoDetails)
 {
     if (videoDetails != null)
     {
         videoDetailsMain = videoDetails;
         string videoPath = System.IO.Path.Combine(Mocker.debugPath, "Videos", videoDetails.Name);
         DodoMediaPlayer.Source = new Uri(videoPath);
         this.Show();
         DodoMediaPlayer.Play();
     }
 }