2012-06-20 64 views

回答

0

設置controlbar.idlehide =真和控制欄=過來:

controlbar.idlehide(假) 如果controlbar.position設置爲結束時,此選項確定控制欄在播放器暫停或停止時是否保持隱藏狀態。

修正播放器代碼(工作演示: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> 
+0

當玩家在inisilize的controllber隱藏和鼠標來控制欄顯示.. – user1051666

+0

現在請參閱修正玩家嵌入代碼。 正如我所說請將controlbar.idlehide設置爲true。 –

+0

jwplayer不會在沒有將鼠標放在該視頻區域的情況下顯示控件,那麼您現在需要什麼? –

相關問題