Exemplo n.º 1
0
 void mediaPlayer_Seeked(object sender, SeekRoutedEventArgs e)
 {
     if (Seeked != null)
     {
         Seeked(this, new SeekedEventArgs(e.PreviousPosition, e.Position));
     }
 }
Exemplo n.º 2
0
        private void ThePlayerSeeked(object sender, SeekRoutedEventArgs e)
        {
            e.Canceled = true;
            var model = DataContext as VideoPlayerViewModel;

            if (model != null)
            {
                _seeking = true;
                model.Seek(e.Position.Ticks);
            }
        }
 void mediaPlayer_Seeked(object sender, SeekRoutedEventArgs e)
 {
     if (Seeked != null) Seeked(this, new SeekedEventArgs(e.PreviousPosition, e.Position));
 }
 private async void thePlayer_Seeked(object sender, SeekRoutedEventArgs e)
 {
     e.Canceled = true;
     var model = this.DataContext as VideoPlayerViewModel;
     if (model != null)
     {                
         _seeking = true;
         model.Seek(e.Position.Ticks);
     }
 }
        void PlayerOnSeeked(object sender, SeekRoutedEventArgs seekRoutedEventArgs)
        {
            Debug.WriteLine("StreamingMediaPlugin Seeked to " + seekRoutedEventArgs.Position);

            _mediaStreamFacade.SeekTarget = seekRoutedEventArgs.Position;
        }
Exemplo n.º 6
0
 void MediaPlayer_Seeked(object sender, SeekRoutedEventArgs e)
 {
     e.Canceled = EvaluateMarkers(e.PreviousPosition, e.Position);
 }
        void PlayerOnSeeked(object sender, SeekRoutedEventArgs seekRoutedEventArgs)
        {
            Debug.WriteLine("StreamingMediaPlugin Seeked to " + seekRoutedEventArgs.Position);

            _mediaStreamFacade.SeekTarget = seekRoutedEventArgs.Position;
        }