在 video.js 中设置垂直音量控制 [英] Setting up volume control vertical in video.js
本文介绍了在 video.js 中设置垂直音量控制的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我一直在玩 HTML5 video.js 视频播放器组件.播放器非常棒,几乎可以满足我的所有要求.
There i have been playing around with the HTML5 video.js video player component . And player is absolutely awesome and meet almost all my requirements .
我遇到的唯一问题是它有一个水平音量控制栏,我想将音量控制栏垂直放置,类似于它在闪退模式中设置的设置.
The only issue i have ran into is it has a horizontal volume control bar and i want to place the volume control bar vertical similar to what it sets in flash fall back mode .
对此的任何帮助将不胜感激.
Any help regarding this would be really appreciated.
谢谢
推荐答案
这对我有用
vjs.ControlBar.prototype.options_ = {
children: {
'volumeMenuButton': {
'volumeBar': {
'vertical': true
}
}
}
};
这篇关于在 video.js 中设置垂直音量控制的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文