Esempio n. 1
0
 public void StartVideo()
 {
     _player.BeginStop(() =>
     {
         _player.LoadMedia(new Uri(_url));
         _player.Play();
     });
 }
Esempio n. 2
0
        private void Button_Click_3(object sender, RoutedEventArgs e)
        {
            Uri uri = new Uri(path.Text);

            //String pathString = path.Text;

            VlcPlayer.BeginStop((ar) =>
            {
                VlcPlayer.LoadMedia(uri.ToString());
                VlcPlayer.Play();
            });
        }