|
-
Apr 1st, 2008, 03:37 AM
#1
Thread Starter
Member
Using VLC ActiveX Control
I have been trying to use the VLC ActiveX control with this page on the VideoLan wiki to help try and explain how the control works but I have come a bit stuck.
Basically what I am trying to do is to set the MRL of an object (my VLC player) and then play it. I can get it to play if I enter the MRL in the design stage but I want it do set latter. The code I have is:
Code:
AxVLCPlugin1.MRL = fileName
AxVLCPlugin1.play()
I appear to have set the MRL correctly but the clip will not play. Does anybody know what I am doing wrong?
Many thanks in advance.
-
Nov 18th, 2008, 06:07 AM
#2
New Member
Re: Using VLC ActiveX Control
hello,
try to use followings code for version2 of VLC ocx
vlcocx.playlist.add("file","")
vlcocx.playlist.play
-
Nov 18th, 2008, 09:03 AM
#3
Hyperactive Member
Re: Using VLC ActiveX Control
This is what I do to get it to play:
Code:
VLC.addTarget(Path, Nothing, AXVLC.VLCPlaylistMode.VLCPlayListAppendAndGo, 0)
VLC.Play()
"Don't try to be a great man. Just be a man and let history make its own judgement."
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|