javascript - JW Player 6 controlbar - Stack Overflow

Have problem with JW player 6 controlbar. The matter is it always hides after some time and i need it t

Have problem with JW player 6 controlbar. The matter is it always hides after some time and i need it to stay visible all the time. Are there any setup options for controlbar or built in methods or properties in jwplayer.js for this? Couldn't find it by myself.

Have problem with JW player 6 controlbar. The matter is it always hides after some time and i need it to stay visible all the time. Are there any setup options for controlbar or built in methods or properties in jwplayer.js for this? Couldn't find it by myself.

Share Improve this question edited Nov 26, 2012 at 23:46 Kyeotic 19.9k12 gold badges72 silver badges132 bronze badges asked Nov 26, 2012 at 23:15 seegma14seegma14 311 gold badge1 silver badge3 bronze badges
Add a ment  | 

3 Answers 3

Reset to default 1

JW Player 6 indeed does not support displaying the controls at all times. Is there a specific use case for this? Given all HTML5 browsers do the same, this se

Try using controlbar.position(bottom) - Position of the controlbar. Can be set to bottom, top, over and none; or controlbar.idlehide ( false ) to force it not to hide during play mode. This should work for embedded videos, check the full api list here.

EDIT brief example:

"player": {
  "modes": {
     "linear": {
        "controls": { "manage": false }
     }
  }
},

You may wanna also check these examples.

A bit of a hack, and likely to be blown away by a core update, but I found a little heavy handed CSS got the job done for me. Note, you'll have to adjust the positioning values for your particular deployment. You can just watch for the specific styles added to the elements by jwplayer when the controls appear.

#yourid_controlbar {
    display:inline-block !important;
    opacity:1 !important;
}

#yourid_controlbar .jwgroup.jwcenter {
    left:105px !important;
    right:100px !important;
}

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1745651395a4638285.html

相关推荐

  • javascript - JW Player 6 controlbar - Stack Overflow

    Have problem with JW player 6 controlbar. The matter is it always hides after some time and i need it t

    4小时前
    10

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信