user1051666
user1051666

Reputation: 3

jw player controlbar hide and show on mouseover

I am working with jw player. if the client requirement on mouseover to show control bar otherwise all time hide controlber.. please suggest me

Upvotes: 0

Views: 7208

Answers (1)

Eswar Rajesh Pinapala
Eswar Rajesh Pinapala

Reputation: 4911

Set controlbar.idlehide= true and controlbar=over:

controlbar.idlehide ( false ) If controlbar.position is set to over, this option determines whether the controlbar stays hidden when the player is paused or stopped.

Corrected player code (working demo: http://jsfiddle.net/epinapala/8nHKt/ ):

<object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' width='470' height='320' id='single1' name='single1'>
<param name='movie' value='http://player.longtailvideo.com/player.swf'>
<param name='allowfullscreen' value='true'>
<param name='allowscriptaccess' value='always'>
<param name='wmode' value='transparent'>
<param name='flashvars' value='image=http://content.longtailvideo.com/videos/flvplayer.jpg&file=http://content.longtailvideo.com/videos/flvplayer.flv&controlbar.idlehide=true&controlbar=over&duration=34&fullscreen=true&stretching=fill'>
<embed
  id='single2'
  name='single2'
  src='http://player.longtailvideo.com/player.swf'
  width='470'
  height='320'
  bgcolor='#000000'
  allowscriptaccess='always'
  allowfullscreen='true'
  flashvars='image=http://content.longtailvideo.com/videos/flvplayer.jpg&file=http://content.longtailvideo.com/videos/flvplayer.flv&controlbar.idlehide=true&controlbar=over&duration=34&fullscreen=true&stretching=fill'
/>
</object>

Upvotes: 1

Related Questions