Results 1 to 3 of 3

Thread: Using VLC ActiveX Control

  1. #1

    Thread Starter
    Member
    Join Date
    Dec 2003
    Posts
    38

    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.

  2. #2
    New Member
    Join Date
    Nov 2008
    Posts
    1

    Re: Using VLC ActiveX Control

    hello,


    try to use followings code for version2 of VLC ocx


    vlcocx.playlist.add("file","")
    vlcocx.playlist.play

  3. #3
    Hyperactive Member .NetNinja's Avatar
    Join Date
    Oct 2008
    Location
    USA
    Posts
    281

    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
  •  



Click Here to Expand Forum to Full Width