private void OnVideoTimelineSliderValueChanged(object sender, ValueChangedEventArgs e) { var oldValue = (e.OldValue / 100) * ((nativePlayer.Duration) / 1000); var newValue = (e.NewValue / 100) * ((nativePlayer.Duration) / 1000); nativePlayer.Seek((int)((e.NewValue / 100) * ((nativePlayer.Duration) / 1000))); if (!model.IsPlaying) { return; } if ((oldValue - newValue) > 1.5 || (oldValue - newValue) < -1.5) { nativePlayer.Seek((int)((e.NewValue / 100) * ((nativePlayer.Duration) / 1000))); _seekChanged = true; if (bufferingSlider.Value <= timelineBar.Value) { SetBusy(true); } else { SetBusy(false); } } }