z-indexing the webplayer...

5 replies [Last post]
nichtsoft
nichtsoft's picture
User offline. Last seen 3 years 44 weeks ago. Offline
Joined: 03/31/2008
Posts: 1
Groups: None

Hi there!

I've got a big problem with my navigation (CSS2) since it seems impossible to lay a div OVER the webplayer (z-index).

Any fix or workaround for that!?

re: z-indexing the webplayer...

javascript will work

phsource
phsource's picture
User offline. Last seen 3 years 12 weeks ago. Offline
Joined: 06/24/2008
Posts: 2
re: re: z-indexing the webplayer...

Hi,

Sorry to bring an old thread back to life, but I'm wondering the exact same thing. Is there any way to put something on top of the DivX Web Player using Javascript? If so, any pointers please?

Thanks a lot.

Yes you can, just download

Yes you can, just download the Webmaster SDK and look at the Javascript callback section. The SDK also contains a PDF that shows all the callbacks you can use. A simple implementation of it is on the Connected page here on labs.

phsource
phsource's picture
User offline. Last seen 3 years 12 weeks ago. Offline
Joined: 06/24/2008
Posts: 2
Hey again,

Hey again,

Sorry for the confusion. I understand that you can have an image and have scripting insert the player and/or start playback when someone clicks on it.

I was thinking more of something like the old Stage6 interface, with a small play button (a HTML element) overlaid on top of it. Right now, no matter what I try, the button gets placed behind the Web Player object.

An example of this can be found here: http://76.191.115.98/test.php?width=720&height=405&uid=glbrlajunarz.
Notice how the buttons show for a brief while until the video itself loads.

Is there any way to overlay the button?

Thanks again in advance.

EDIT I realized that the image method may have been what Stage6 used (with an image which looked like the DivX Web Player). If that's indeed the case, please point it out.

previewImage

Yes, you can use the previewImage parameter to overlay a play button or screenshot at the beginning. I think you may also be able to script the previewImage param when your site generates the code, so that you can have different play buttons or anything really, you are trying to overlay. That parameter, however, is the only way I am aware of to get "stuff" to overlay the player object.

-S

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.