I was wondering if anyone has got the VLC ActiveX component working with a .NET windows application?
Just so you know, I am doing this in Windows XP, with .net framework 1.1 using VS.NET 2003
I have tried this so far.....
1. Installing VideoLan 0.8.2
2. Running a RegSvr32 AXVLC.dll
3. aximp c:\programe files\videolan\vlc\axvlc.dll
4. Then Including the output DLLS in my VS.NET project
5. Then the below code
Code: Select all
AxVLCPlugin vlcPlugin = new AxVLCPlugin();
//vlcPlugin.CreateControl();
//vlcPlugin.setVariable("SRC", "");
//vlcPlugin.setVariable("height", 100);
//vlcPlugin.fullscreen();
vlcPlugin.addTarget("http://vthr.videolan.org/~dionoea/april/theo256-vorbis32.ogg",
new string[] {":input-repeat"},
AXVLC.VLCPlaylistMode.VLCPlayListGo, -666);
vlcPlugin.Visible = true;
vlcPlugin.play();
If anyone has some simple code working it would be much appreciated if they could pass it on...
Regards
M