C# newie question

This forum is about all development around libVLC.
enrike
New Cone
New Cone
Posts: 7
Joined: 15 Apr 2009 13:48

C# newie question

Postby enrike » 15 Apr 2009 14:19

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

elwood
Blank Cone
Blank Cone
Posts: 24
Joined: 04 Oct 2008 15:28

Re: C# newie question

Postby elwood » 27 Apr 2009 22:19

Look at the http://sourceforge.net/projects/libvlcnet
There are one example WindowsFroms player based on last version of VLC.


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 36 guests