Page 1 of 1
Problems with two activeX in the same page
Posted: 19 Jan 2006 09:52
by cebecerril
Hi!:
Mainly, I have two problems with ActiveX:
1. I have a web page with a VLC running, then I push a button to open another window with the same VLC on fullScreen but the VLC doesn't change its size, and the background of the new page gets to black.
2. When I show two VLC in the same page, but in different frames, it only shows one of them but with a mixed video of the two VLC.
Am I doing something wrong?
Posted: 19 Jan 2006 14:49
by Guest
I don't think so ... VLC active X doesn't like to be used twice in the same process...
In delphi it is the same : impossible to use 2 VLC active x in the same application.
Posted: 19 Jan 2006 17:39
by tonsofpcs
There is currently an issue with having two ActiveX controls in the same host process. Have you tried using the fullscreen method of the ActiveX control?
ActiveX control documentation:
http://wiki.videolan.org/index.php/ActiveX and
http://trac.videolan.org/vlc/file/trunk ... README.TXT
Posted: 20 Jan 2006 09:13
by cebecerril
I've tried "thousands" of combinations and if I have a browser whith only one of the two VLC, and then I open another browser with the last VLC and a second one (each one in a different frame) then it works well.
But If I close the first browser and I refresh the second one, then one of the two VLC shows a mixed video of the two VLC and the other one goes to blank.
I think this could help to solve the problem
Re: Problems with two activeX in the same page
Posted: 20 Jan 2006 09:54
by tonsofpcs
I have a web page with a VLC running, then I push a button to open another window with the same VLC on fullScreen but the VLC doesn't change its size, and the background of the new page gets to black.
Am I doing something wrong?
Yes. Don't open another window with the same VLC. Just use the fullscreen method (function) of the ActiveX control/plugin.
Posted: 20 Jan 2006 09:57
by cebecerril
Thanks, tonsofpcs, first problem solved, so...
What do you think about the second one?
Posted: 23 Jan 2006 11:56
by Quovodis
using Overlay could be one of your problem, try turning it off in the VLC preference panel under video output.
please note that refreshing a page containing a VLC plugin has the same effect as quiting the VLC player and relauching it again.
Posted: 23 Jan 2006 12:47
by cebecerril
Well, I still having the same problem. What I want to do is a mosaic in a web page, putting one VLC in every frame of the page. Is there any way of doing this?
Posted: 23 Jan 2006 13:05
by Quovodis
do you have an example I could have a look, possibly online
Posted: 23 Jan 2006 13:29
by cebecerril
Very easy:
I have a page with two frames. Each frame has a page whith only the VLC Object.
If I open another window browser with one VLC, then the mosaic works well, but if I close the browser with one VLC, and refresh the mosaic, then it doesn't work.
If I don't open any other browser, then one VLC shows a mixed video, and the other is black.
Posted: 31 Jan 2007 20:46
by wser
Hi, long time ago this topic
Well, I`m trying to "display" two diffrent streams into a webpage with vlc, while i can`t reach the point where the user can hear the music at the same time as switching camerea views from my place. Among all these activeX problems along vlc, i guess that either the activeX Plugin can`t process two streams at once or that it can`t be written in a html or java code.
If you have a look at the html code from
http://life.whatsoeverrecords.net you will know what i mean.
Sincerely
WSER
Posted: 31 Jan 2007 21:37
by divx118
You will have to use at least two objects in your page. Just duplicate the object code
and set the id to for example vlc2 with the first object you can play your audio and with the second (vlc2) you can play your streams.
The only problem is that there seems to be some problems doing this, but maybe it will work for you.
PS set the width and height value of the first object to 0 so it will not show up on your screen.
Maurice
Posted: 31 Jan 2007 21:44
by wser
Well, I`m going to try this option tomorrow, thank you for taking the time to see the html code. Gonna tell you the results.
Posted: 01 Feb 2007 07:59
by xiaobei
Hi !
Could somebody provid a compiled static axvlc.dll of 0.8.6?
I need it urgently! Thanks!