Question

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?

Était-ce utile?

La solution 2

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/

Autres conseils

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

This plugin has a flexibility to have multiple text overlays.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top