VLC ActiveX in C#
Posted: 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: -
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: -
But the file was only played the once.
Any help, pointers or ideas would be much appreciated.
Thanks & Regards
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();
}
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();
}
Any help, pointers or ideas would be much appreciated.
Thanks & Regards