Exemple #1
0
 private void ThePlayerMediaEnded(object sender, MediaPlayerActionEventArgs e)
 {
     if (!_seeking)
     {
         Messenger.Default.Send(new NotificationMessage(Constants.Messages.SendVideoTimeToServerMsg));
     }
 }
 void MediaPlayer_MediaEnded(object sender, MediaPlayerActionEventArgs e)
 {
     if (req != null)
     {
         req.RequestRelease();
         req = null;
     }
 }
 void _player_MediaEnded(object sender, MediaPlayerActionEventArgs e)
 {
     if (lvTags.Items.Count == 0)
     {
         notagsStatus.Visibility     = Visibility.Collapsed;
         noplaybackStatus.Visibility = Visibility.Visible;
     }
 }
 void _player_MediaEnded(object sender, MediaPlayerActionEventArgs e)
 {
     if (lvStreams.Items.Count == 0)
     {
         nometadataStatus.Visibility = Visibility.Collapsed;
         noplaybackStatus.Visibility = Visibility.Visible;
     }
     if (_event_timer.IsEnabled)
     {
         _event_timer.Stop();
     }
 }
Exemple #5
0
        private void OnMediaEnded(object sender, MediaPlayerActionEventArgs e)
        {
            var viewModel = DataContext as PlaylistVideoPageViewModel;

            if (viewModel == null)
            {
                return;
            }

            viewModel.SkipNext();
            Skip();
        }
 private void MediaPlayer_OnMediaEnded(object sender, MediaPlayerActionEventArgs e)
 {
     // TODO: Replace with something nicer | It may be bug in Windows.Interactivity
     ((EmbededVideoPlaybackViewModel)DataContext).Next();
 }
Exemple #7
0
 private void MediaEnded(object sender, MediaPlayerActionEventArgs e)
 {
     UnhookEventHandlers();
     //DebugLogger.Log("MediaEnded: " + ((MediaPlayer)sender).Source);
     //DebugLogger.Log("Playback succeeded");
 }
 void PlayerOnMediaEnded(object sender, MediaPlayerActionEventArgs mediaPlayerActionEventArgs)
 {
     Debug.WriteLine("StreamingMediaPlugin MediaEnded " + _playbackSession);
 }
 void _player_MediaEnded(object sender, MediaPlayerActionEventArgs e)
 {
     _clocktimer.Stop();
 }
Exemple #10
0
 void _player_MediaEnded(object sender, MediaPlayerActionEventArgs e)
 {
 }
 protected void MediaPlayer_OnMediaEnded(object sender, MediaPlayerActionEventArgs eventArgs)
 {
     // TODO: Replace with something nicer | It may be bug in Windows.Interactivity
     ((IVidePlaybackViewModel)DataContext).ClearSource();
     ((IVidePlaybackViewModel)DataContext).Next();
 }