Page 1 of 1

C# newie question

Posted: 15 Apr 2009 14:19
by enrike
hi

I am working with C# .NET and I need a windows form where there is a simple video player. I have been reading different posts in this forum and few websites that point into different directions so i am a bit confused.

I managed to get the ActiveX dll (AXVLC.dll) to work but it pops in a new window, i need it to be displayed within the form. Is there a way to achive this? Or maybe the activeX does not allow for it?

This is the code I am using:

VLCPluginClass player= new VLCPluginClass();
player.addTarget(url, null, VLCPlaylistMode.VLCPlayListReplaceAndGo, 0);
player.play();

I also tried this other method
http://wiki.videolan.org/.Net_Interface_to_VLC
but i cannot get it compiled, it is weird having to re-create the VS project and i guess i do something wrong. I wonder why not including a zip with the VS project for download in that page. I will kep trying...

Sorry if i am asking something stupid, but i am a bit new to C# and Visual Studio

thanks!!

enrike

Re: C# newie question

Posted: 27 Apr 2009 22:19
by elwood
Look at the http://sourceforge.net/projects/libvlcnet
There are one example WindowsFroms player based on last version of VLC.