wuliwong
wuliwong

Reputation: 4368

Setting wmode for HTML element overlays of jwplayer using javascript

I am trying to overlay a <div> on my jwplayer. I believe in order to do this, I have to set the 'wmode' parameter to be 'transparent.' So far I've been unsuccessful trying it this way:

jwplayer('profile-video').setup(
                'width': '640',
                'height': '360',
                'skin' : "/jwplayer/skins/bekle.xml",
                'file' : video_url,
                'wmode' : 'transparent'
            )

Anyone see where I'm going wrong or maybe 'wmode' is the wrong parameter to be setting?

Upvotes: 4

Views: 4928

Answers (2)

Mangesh
Mangesh

Reputation: 3997

Try http://totaldev.com/content/jw-player-textmark-plugin.

This plugin has a flexibility to have multiple text overlays.

Upvotes: 2

emaxsaun
emaxsaun

Reputation: 4201

That should be fine too, but the best way to really overlay a div on top of a JW Player is via a JavaScript plugin. We have a SDK available here with a sample Hello World JS based plugin - http://developer.longtailvideo.com/trac/

Upvotes: 1

Related Questions