Play same file in two instances with one control

All you've ever wanted to know about the ActiveX, Mozilla plugins, the web interface and various PHP extensions
tru
New Cone
New Cone
Posts: 4
Joined: 10 Aug 2010 07:57

Play same file in two instances with one control

Postby tru » 10 Aug 2010 08:25

Hello community,

First off, WOW, nice player you created here.

I am currently working with VB.NET under Visual Studio 2010 with VLC 1.1.2 The Luggage. I implemented the plugin v2 in my project. So far, everything is working fine. Let me briefly explain what I intend to do:

I would like to have one set of controls on any form which can control two instances of the vlc player. Both players play the same .mpeg file, synchronized. They are also on separate forms. The control set should play, pause, etc both instances simultaneously. What I am doing right now is to open the file twice. Every control is doubled to achieve some sort of fake uni control.

example:

Code: Select all

Buttonclick: Form1.vlc.playlist.togglePause() Form2.vlc.playlist.togglePause()
My question would be, if and how it is possible to open the file once and play just a "copy" of one VLC player in another (or a picture box or whatever). I tried using the clone video option but it is not fully documented. It would be really nice to have someone who knows the syntax for this kind of problem. I searched the forum here and on google but I cannot find the right thing...

Please feel free to ask for additional details.

Help of any kind is very much appreciated,
Thank you :wink:

tru

Return to “Web and scripting”

Who is online

Users browsing this forum: No registered users and 5 guests