VLC ActiveX in C#

This forum is about all development around libVLC.
izzop
New Cone
New Cone
Posts: 4
Joined: 09 Mar 2010 15:30

VLC ActiveX in C#

Postby izzop » 09 Mar 2010 18:31

Hi,

I'm trying to use the VLC ActiveX (v2 Version 1.0) in C# and have the following code: -

Code: Select all

private void Form1_Load(object sender, EventArgs e) { axVLCPlugin21.AutoLoop = true; axVLCPlugin21.playlist.add("C:\\Users\\Public\\Videos\\Sample Videos\\Wildlife.wmv","My File",null); axVLCPlugin21.playlist.play(); }
The form appears fine and the movie plays no problem. What isn't happening however is the 'Loop'?

I've tried setting the 'AutoLoop' to true through the code and also with the properties of the control, but neither of these work. I've searched the forum and it appears that I'm not the only person to have had this problem.

Is this a known bug and if so is there a work around?

I'd also like to add more than one file to my playlist, but I'm not sure how to do this, I've tried: -

Code: Select all

private void Form1_Load(object sender, EventArgs e) { axVLCPlugin21.AutoLoop = true; axVLCPlugin21.playlist.add("C:\\Users\\Public\\Videos\\Sample Videos\\Wildlife.wmv", "My File1", null); axVLCPlugin21.playlist.add("C:\\Users\\Public\\Videos\\Sample Videos\\Wildlife.wmv", "My File2", null); axVLCPlugin21.playlist.play(); }
But the file was only played the once.

Any help, pointers or ideas would be much appreciated.

Thanks & Regards

Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 33 guests