Visual Basic Code , VB.NET Code, VB Code
  Home   :  Code   :  Forums   :  Submit   :  Mailing List   :  About   :  Contact


Embedding VLC player in Vb form


Embedding VLC player in Vb form

Author
Message
callxpert
callxpert
Forum God
Forum God (481 reputation)Forum God (481 reputation)Forum God (481 reputation)Forum God (481 reputation)Forum God (481 reputation)Forum God (481 reputation)Forum God (481 reputation)Forum God (481 reputation)Forum God (481 reputation)

Group: Forum Members
Posts: 1, Visits: 4
Hi,

      Im new to Vb programming.

      Im using VLC plugin axvlc.dll in my project, Please help me with the code to play a video file,It would be even helpfull if  you tell me the code for creating a playlist.

     And help will be greatly appreciated.

     Thanks,Naveen

Wilksey
Wilksey
Forum God
Forum God (5.2K reputation)Forum God (5.2K reputation)Forum God (5.2K reputation)Forum God (5.2K reputation)Forum God (5.2K reputation)Forum God (5.2K reputation)Forum God (5.2K reputation)Forum God (5.2K reputation)Forum God (5.2K reputation)

Group: Forum Members
Posts: 14, Visits: 18
Hi.



Download the latest version of VLC, i'm sure it will work anyway, but just to have the same setup as me.



Add the VLC ActiveX as a component to the VB5 /6 project, it will put 2 traffic cones into the toolbox, called VLCPLugin and VLCPlugin2.



Place a new VLCPlugin control on your form and size it suitably, and add the following code to a button or the form load:



VLCPlugin1.addTarget "c:\winvideo\sample.avi", Null, VLCPlayListInsert, -666

VLCPlugin1.play



If you turn on autoplay, or use a vlc play list option with the word "go" in it, it will play the clip automatically.



You can use the fullscreen option to put it into fullscreen mode.



Hope this helps.



Regards

~Wilksey~
Morrigu77
Morrigu77
Forum God
Forum God (461 reputation)Forum God (461 reputation)Forum God (461 reputation)Forum God (461 reputation)Forum God (461 reputation)Forum God (461 reputation)Forum God (461 reputation)Forum God (461 reputation)Forum God (461 reputation)

Group: Forum Members
Posts: 1, Visits: 2
Hi,

I've got a question regarding the VLC player and VB6.

I want a form with multiple buttons which contains a link to a film. The film is on my HD in a subdir video_TS in VOB format.

VLC player plays the film i click first. Then i hit Stop. The second button points to a different film, but again the first clicked film starts. I tried to empty the playlist, but that doesn't work.

I used vlcplugin1.addtarget "C:\Films\Film1\", "dvd://", vlcplaylistReplace, 1 to add a film.

And vlcplugin1.stop and vlcplugin1.playlistclear to stop a film.

Anybody ideas what i should do the get this work?

GauravDhol
GauravDhol
Forum God
Forum God (481 reputation)Forum God (481 reputation)Forum God (481 reputation)Forum God (481 reputation)Forum God (481 reputation)Forum God (481 reputation)Forum God (481 reputation)Forum God (481 reputation)Forum God (481 reputation)

Group: Forum Members
Posts: 1, Visits: 1
Hi



I try this code but it will not work



if u have any other Sample Code Of VLC In Vb then please me



my email Address is : dhol.gaurav@yahoo.com



thanks

------------
Pasupathi
Pasupathi
Forum God
Forum God (2.2K reputation)Forum God (2.2K reputation)Forum God (2.2K reputation)Forum God (2.2K reputation)Forum God (2.2K reputation)Forum God (2.2K reputation)Forum God (2.2K reputation)Forum God (2.2K reputation)Forum God (2.2K reputation)

Group: Forum Members
Posts: 8, Visits: 17
Hello

Solution For your problem....



VLCPlugin21.playlist.Add ("D:\Songs\Britney Spears\04-britney_spears-break_the_ice.avi")

VLCplugin21.playlist.play



.avi or .mp3 or .mpg: this sholud important....

Check it out. Then reply, my ID is

whitewinter_alone@yahoo.co.in

Byeeee






With Regards,
Pasupathi,
(whitewinter_alone@yahoo.co.in)
nourtamer85
nourtamer85
Forum God
Forum God (1K reputation)Forum God (1K reputation)Forum God (1K reputation)Forum God (1K reputation)Forum God (1K reputation)Forum God (1K reputation)Forum God (1K reputation)Forum God (1K reputation)Forum God (1K reputation)

Group: Forum Members
Posts: 2, Visits: 19
what about the latest version of VLC???????



thanks in advance for your help

Keithuk
Keithuk
Forum God
Forum God (297K reputation)

Group: Moderators
Posts: 1.9K, Visits: 5.5K
Welcome to A1vbcode.

nourtamer85 (6/5/2012)
what about the latest version of VLC???????

VLC Media Player 2.0.1

Keith

I've been programming with VB for 17 years. Started with VB4 16bit Pro, VB5 Pro, VB6 Pro/Enterprise and now VB3 Pro. But I'm no expert, I'm still learning.

nourtamer85
nourtamer85
Forum God
Forum God (1K reputation)Forum God (1K reputation)Forum God (1K reputation)Forum God (1K reputation)Forum God (1K reputation)Forum God (1K reputation)Forum God (1K reputation)Forum God (1K reputation)Forum God (1K reputation)

Group: Forum Members
Posts: 2, Visits: 19
Keithuk (6/6/2012)
Welcome to A1vbcode.



nourtamer85 (6/5/2012)
what about the latest version of VLC???????




VLC Media Player 2.0.1




thanks my friend , but I am not asking about the vlc version itself .



what I am asking about is that i had a program that use vlc 0.86 and everything is perfect

when i tried to install the latest version of vlc this vb6 program woudn.t work not any more , what i mean the axvlc.dll didn.t work . I tried to add the dll file again but it still show me this lovely message

Name conflicts with existing module, project, or object library



what should i do???????

thanks for your previous help and for your advanced help



GO


Similar Topics


Reading This Topic


Login
Existing Account
Email Address:


Password:


Social Logins

Select a Forum....

















A1VBCode Forums


Search