admin管理员组

文章数量:1026677

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;
}

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;
}

本文标签: javascriptJW Player 6 controlbarStack Overflow