Multiple plugin in a page

All you've ever wanted to know about the ActiveX, Mozilla plugins, the web interface and various PHP extensions
gulcin
New Cone
New Cone
Posts: 4
Joined: 11 May 2009 16:49

Multiple plugin in a page

Postby gulcin » 14 May 2009 15:54

Hello;
I'm a new user of VLC and also I don't know Javascript and html well.
I am trying to create multiple vlc objects and their controllers in a page.
In fact what exactly I want is similar to: http://www.revolunet.com/static/downloa ... anced.html with multiple screens.

I tried to create by changing init() function:

Code: Select all

function init() { // load plugin0 var myvlc = new VLCObject("mymovie", "600", "350"); myvlc.write("vlccontent0"); // load controls vlc_controls = new VLCcontrols(myvlc); // load plugin1 var myvlc1 = new VLCObject("mymovie", "600", "350"); myvlc1.write("vlccontent1"); // load controls vlc_controls1 = new VLCcontrols(myvlc1); }
But this gave me not I what. I tried same with a for loop, it even not executed.
Could you help me on showing multiple vlc screens and controllers in a page, please?
Thanks.

revolunet
Big Cone-huna
Big Cone-huna
Posts: 515
Joined: 17 Oct 2007 13:16
VLC version: 0.9.8
Operating System: Vista
Location: Paris, France
Contact:

Re: Multiple plugin in a page

Postby revolunet » 14 May 2009 20:06

sorry but actually you cant create to VLCcontrols in the same page, this is a shame i admit and ill correct that asap.

if you want two single plugins, you can, see http://vlc.revolunet.com/double.html and http://vlc.revolunet.com/quad.html

hope this helps
VLC & web IT consulting - http://www.revolunet.com
Github : http://github.com/revolunet


Return to “Web and scripting”

Who is online

Users browsing this forum: No registered users and 17 guests