Click here to Skip to main content
15,881,600 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
hi in my C# application i need to add media player with its full functionality in my form . i want to add VLC in my app to play videos. then i want to connect it with timeline in my form. how can i add VLC in my form>?

thnks.
Posted
Comments
Mukesh Pr@sad 12-Nov-14 7:58am    
You need to have the dll's plug in for vlc player.
1. You cna install the vlc media player in to your system. As it is the ActiveX control, it will generate some dll's
2. These dlls will be used in your application for getting the reference.
3. Now you need to register the ActiveX component using the below method:
Go to the Toolbox/Choose item -> select COM register -> check the checkbox in front VLC Plug-in"
As it is already installed so this option should be available to check.
4. Drag item onto your form
Now you can write the code for play/stop.

1 solution

First, know that CodeProject is always your friend: just search in Google using:

site: codeproject.com

To find several useful articles.

There are several libraries that will wrap the VLC Control so you can use it in .NET; for example: [^], [^], [^]. Two part series: [^], [^].

If I were going to use one of these libraries, I'd review all of them, looking to see which one is updated most recently, which one shows the author(s) responding to user feedback most recently, and which one seems like one you could work with.
 
Share this answer
 
Comments
Member 11082365 13-Nov-14 11:15am    
thank you . http://dmediaplayer.codeplex.com/ from here i downloaded the projct when i build it , it gives warnings . and when i run it, give a video file to play then nothing is played.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900