how to play with VLC plugin in C# winform

  • Thread starter Thread starter Map to new space
  • Start date Start date
M

Map to new space

Guest
I follow video C_ Tutorial 100_ How to embed VLC Media Player into C_ Windows Forms Application in youtube

but can not play video after run

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace SmartSatelliteVideoMonitoring
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
OpenFileDialog ofile = new OpenFileDialog();
ofile.Filter = "( *.mp4) | *.mp4";
if (ofile.ShowDialog() == DialogResult.OK)
{
//axVLCPlugin21.playlist.add(@"D:\csv1\autoweb.mp4", ofile.SafeFileName, null);
axVLCPlugin21.playlist.add(ofile.FileName, ofile.SafeFileName, null);
axVLCPlugin21.playlist.play();
}
}
}
}



MEALY

Continue reading...
 
Back
Top