Simple question! How to play MPEG using ActiveX control

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.
highlysceptical
Blank Cone
Blank Cone
Posts: 12
Joined: 07 Nov 2005 22:15

Simple question! How to play MPEG using ActiveX control

Postby highlysceptical » 09 Nov 2005 13:41

This may seem like a naive question, but I am playing around with the ActiveX control at the moment in Visual Basic, and all I want to do is to play an MPEG file.

I have added the ActiveX control to my form, and set autoplay to true. But despite trying all sorts of settings for MRL and AddTarget, I cannot get anything to happen!

Please can someone tell me what settings are required to make the file play?

MRTrevorF
Blank Cone
Blank Cone
Posts: 12
Joined: 03 Nov 2005 14:02

Postby MRTrevorF » 09 Nov 2005 15:05

movMain.addTarget(targetPath, Nothing, AXVLC.VLCPlaylistMode.VLCPlayListReplaceAndGo, -666)

I'm using 0.8.5 Beta so I think the syntax is a bit different - I don't recall ReplaceAndGo as an option in 0.8.2. You'd probably have to say:

movMain.Play()

...afterwards

highlysceptical
Blank Cone
Blank Cone
Posts: 12
Joined: 07 Nov 2005 22:15

Postby highlysceptical » 09 Nov 2005 15:31

I think that is what I am doing:-

VLCPlugin1.addTarget "d:\mpegfile.mpg", Null, VLCPlayListReplaceAndGo, -666

but nothing happens!


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: No registered users and 87 guests