Page 1 of 1

Browser plugin, video in background, other html foreground

Posted: 26 Jul 2006 19:02
by El_Gusano
Is it possible to embed the vlc browser plugin in such a way that we can position it at the same spot as other html content (i.e. images, text, etc) and have the video displayed as background to the html content? I am testing with a video and an image using CSS absolute positioning. When I try it like this, the image loads quickly and when the video loads, it is placed on top of the image. The html that loads the video comes before the <img> tag... meaning the video should be placed before and then the image would be placed on top. I was hoping it would work this way but it didn't.


___________________________
| video |
__________________________ |
| | |
| | |
| html | |
| | |
| | |
| | |
| |_|
| |
__________________________


I'm not an ascii artist... but I hope the description at the top is clear...
Any ideas?

Hmmm

Posted: 26 Jul 2006 19:04
by El_Gusano
Hmm.. turns out the message editor isn't WYSIWYG... so much for my ascii art..

Posted: 27 Jul 2006 12:07
by Quovodis
if I understand well you want to put HTML elements on top of the video; well, this has already been asked before, and the short answer is NO, you cannot. however it could be done whenever VLC activex plugin is rewritten to be "windowless".

in technical terms, the current VLC display model requires that the video be shown in a child window. The ActiveX plugin currently creates such a window, therefore the ActiveX plugin is a "Windowed" ActiveX control. Unfortunately, Windowed ActiveX control are not as flexible as their windowless counterparts and Internet Explorer can only put them on top of every other HTML components.

Removing the child window dependency from VLC is quite a big task, and no-one is currently planning on doing so.

Please note that the mozilla plugin also suffer from this problem.