Browser plugin, video in background, other html foreground

All you've ever wanted to know about the ActiveX, Mozilla plugins, the web interface and various PHP extensions
El_Gusano
Blank Cone
Blank Cone
Posts: 15
Joined: 26 May 2006 17:21

Browser plugin, video in background, other html foreground

Postby El_Gusano » 26 Jul 2006 19:02

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?

El_Gusano
Blank Cone
Blank Cone
Posts: 15
Joined: 26 May 2006 17:21

Hmmm

Postby El_Gusano » 26 Jul 2006 19:04

Hmm.. turns out the message editor isn't WYSIWYG... so much for my ascii art..

Quovodis
Cone that earned his stripes
Cone that earned his stripes
Posts: 271
Joined: 16 Jun 2004 11:13
Location: Cork, Ireland

Postby Quovodis » 27 Jul 2006 12:07

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.


Return to “Web and scripting”

Who is online

Users browsing this forum: No registered users and 7 guests