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 badges3 Answers
Reset to default 1JW 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 badges3 Answers
Reset to default 1JW 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
版权声明:本文标题:javascript - JW Player 6 controlbar - Stack Overflow 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://it.en369.cn/questions/1745651394a2161339.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论