private void MediaPlayer_MediaEnded(object sender, MediaPlayerActionEventArgs e) { foreach (var trackingEvent in TrackingEvents.Where(t => t.PositionPercentage.HasValue && t.PositionPercentage.Value == 1).ToList()) { OnTrackEvent(new PositionEventTrackedEventArgs(trackingEvent, false)); } }
public static bool Notify(this MediaPlayerActionEventHandler handler, object sender) { if (handler != null) { var e = new MediaPlayerActionEventArgs(); handler(sender, e); return(e.Handled); } else { return(true); } }
void MediaPlayer_MediaEnded(object sender, MediaPlayerActionEventArgs e) { if (!MediaPlayer.IsLooping && AutoAdvance) { var index = CurrentPlaylistItemIndex; index++; if (index < Playlist.Count) { CurrentPlaylistItemIndex = index; e.Handled = true; } } }
public static bool Notify(this MediaPlayerActionEventHandler handler, object sender) { if (handler != null) { var e = new MediaPlayerActionEventArgs(); handler(sender, e); return e.Handled; } else { return true; } }
private void MediaPlayer_OnMediaEnded(object sender, MediaPlayerActionEventArgs e) { // TODO: Replace with something nicer | It may be bug in Windows.Interactivity ((EmbededVideoPlaybackViewModel)DataContext).Next(); }
void _player_MediaEnded(object sender, MediaPlayerActionEventArgs e) { _clocktimer.Stop(); }
void MediaPlayer_MediaEnded(object sender, MediaPlayerActionEventArgs e) { EvaluteTrackingEvents(); }
void _player_MediaEnded(object sender, MediaPlayerActionEventArgs e) { if (lvTags.Items.Count == 0) { notagsStatus.Visibility = Visibility.Collapsed; noplaybackStatus.Visibility = Visibility.Visible; } }
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(); }
private void ThePlayerMediaEnded(object sender, MediaPlayerActionEventArgs e) { if (!_seeking) Messenger.Default.Send(new NotificationMessage(Constants.Messages.SendVideoTimeToServerMsg)); }
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(); }
void MediaPlayer_MediaEnded(object sender, MediaPlayerActionEventArgs e) { if(req != null) { req.RequestRelease(); req = null; } }
private void mediaElement_MediaEnded(object sender, MediaPlayerActionEventArgs e) { try { //Uri source = mediaElement.Source; //mediaElement.Source = null; //mediaElement.AutoLoad = true; //mediaElement.Source = source; Int32 b = ls1.Items.Count; a = ls1.SelectedIndex; if (a < b - 1) { // txt1.Text = "a is" + a + "b is" + b.ToString(); a = a + 1; ls1.SelectedIndex = a; } else { ls1.SelectedIndex = 0; } ToastNotification(); updatetile(); } catch { ErrorCorrecting("016"); } }
void _player_MediaEnded(object sender, MediaPlayerActionEventArgs e) { }
void PlayerOnMediaEnded(object sender, MediaPlayerActionEventArgs mediaPlayerActionEventArgs) { Debug.WriteLine("StreamingMediaPlugin MediaEnded " + _playbackSession); }