[vlc-devel] how to play stream link which are from satellite TV and video file with VLC plugin in winform with C#
Martin Lee
tesleft at hotmail.com
Sat Apr 1 11:42:00 CEST 2017
Hi,
after download latest version 2.2.4 and using Visual Studio 2015 enterprise
I follow video C_ Tutorial 100_ How to embed VLC Media Player into C_ Windows Forms Application in youtube
but can not play video file 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();
}
}
}
}
Regards,
Martin
Regards,
Martin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20170401/a0caefee/attachment.html>
More information about the vlc-devel
mailing list