Diaply a DIV overlay over the VLC video

All you've ever wanted to know about the ActiveX, Mozilla plugins, the web interface and various PHP extensions
dpotochniak
New Cone
New Cone
Posts: 3
Joined: 01 Feb 2012 19:56

Diaply a DIV overlay over the VLC video

Postby dpotochniak » 01 Feb 2012 20:33

I have found conflicting posts on this subject, several from many years ago. So, forgive me if this has been answered in the past but I want to verify this with the latest version. I have a meta data div with many fields of data, that I need to display over the video. Can this be done in IE8/IE9?

Also, here is how I have the vlc control in my web page:

Code: Select all

object id="vlcPlayer" type="application/x-vlc-plugin" pluginspage="http://www.videolan.org" version="VideoLAN.VLCPlugin.2" width="376" height="234px" classid="clsid:9BE31822-FDAD-461B-AD51-BE1D1C159921" > <param name="autoplay" value="true" /> <param name="volumn" value="50" /> <param name="events" value="true" /> <param name="loop" value="false" /> <param name="fullscreen" value="false" /> <param name="nooverlay" value='false' /> </object>
When someone without the plugin hits the page, it does not ask them to install it. What is missing to make this work?

Thank you!

skylinegtrally
New Cone
New Cone
Posts: 6
Joined: 15 Mar 2012 17:42
VLC version: 2.0
Operating System: Linux
Location: Southern California

Re: Diaply a DIV overlay over the VLC video

Postby skylinegtrally » 15 Mar 2012 17:56

I am also trying to overcome this problem. I have done some research and found that you can typically set a parameter to the object and embed code to transparent:

<param name="wmode" value="transparent" />

But this only works with flash based plugins. I have tried many solutions found elsewhere on the net but non seem to overlay my div over the embedded application/x-google-vlc-plugin. I also tried modifying a script that worked for the flash player but once the plugin changed, so did my working overlay. There must be a solution somewhere?! I know z-index will not order these objects. Any help would be much appreciated. Here is the general code i am working with, if you see any problems or have any suggestions, feel free to speak out!

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
</head>
<style type="text/css">
#cover {top:0;left:0;width:500px;height:300px;background-color:#666;z-index:100;position:absolute;}
</style>
<body>
<div id="cover"></div>
<OBJECT classid="clsid:9BE31822-FDAD-461B-AD51-BE1D1C159921"
codebase="http://downloads.videolan.org/pub/video ... /axvlc.cab"
width="500" height="auto" id="vlc" events="True" class="top">
<param name="Src" value="rtsp://address" />
<param name="ShowDisplay" value="True" />
<param name="AutoLoop" value="False" />
<param name="AutoPlay" value="True" />
<param NAME="wmode" VALUE="transparent">
<embed id="vlcEmb" type="application/x-google-vlc-plugin" version="VideoLAN.VLCPlugin.2" autoplay="yes" loop="no" width="500" height="auto" wmode="transparent" menu="false" target="rtsp://address" ></embed>
</OBJECT>
</body>
</html>
Praxis the Guru

RSATom
Big Cone-huna
Big Cone-huna
Posts: 513
Joined: 24 Nov 2011 06:55
Operating System: Windows/Linux/OsX
Location: Russia, Tomsk

Re: Diaply a DIV overlay over the VLC video

Postby RSATom » 16 Mar 2012 15:35


skylinegtrally
New Cone
New Cone
Posts: 6
Joined: 15 Mar 2012 17:42
VLC version: 2.0
Operating System: Linux
Location: Southern California

Re: Diaply a DIV overlay over the VLC video

Postby skylinegtrally » 16 Mar 2012 19:39

I took a minute to read your ticket. That would be excellent if that feature was implemented on the next release. Thanks Tom
Praxis the Guru

RSATom
Big Cone-huna
Big Cone-huna
Posts: 513
Joined: 24 Nov 2011 06:55
Operating System: Windows/Linux/OsX
Location: Russia, Tomsk

Re: Diaply a DIV overlay over the VLC video

Postby RSATom » 17 Mar 2012 04:36

Don't think it will be done quickly (if it will be done at all)...

skylinegtrally
New Cone
New Cone
Posts: 6
Joined: 15 Mar 2012 17:42
VLC version: 2.0
Operating System: Linux
Location: Southern California

Re: Diaply a DIV overlay over the VLC video

Postby skylinegtrally » 19 Mar 2012 21:36

I already created a workaround for this stupid issue. I just have to make sure my overlay items do not overlap any of my VLC plugins. I will probably find a better plugin to stream my rtsp through. Since i have to install the plugin on the system to view, it doesnt matter which one i use. I have been having alot of "Missing Plugins" errors on page load. I have up to 9 streams on one page and i dropped my streaming bit rate down and fps so that it could handle multiple streams. Do you have any other suggestions to resolve that problem? This occurs in IE, Firefox, and Chrome..
Praxis the Guru

RSATom
Big Cone-huna
Big Cone-huna
Posts: 513
Joined: 24 Nov 2011 06:55
Operating System: Windows/Linux/OsX
Location: Russia, Tomsk

Re: Diaply a DIV overlay over the VLC video

Postby RSATom » 22 Jul 2012 05:29

It's allow diaply a DIV over the VLC video:
https://code.google.com/p/fbvlc/


Return to “Web and scripting”

Who is online

Users browsing this forum: No registered users and 4 guests