videojs_rails 4.10.1 → 4.10.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ea6386cdc5c6833b596dbb1364360054507070bd
|
4
|
+
data.tar.gz: aef4b40f159609142b73b2d6f96c1abc0dfb8664
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 249b1ad18400aa4e05e9e1b045f2380615615caf709b5041221f7fc8cd11c4e31766fcf1ceabb193e8dbd63358eacee3b00b1f47eadc9a708b86a617207f50d8
|
7
|
+
data.tar.gz: 2e8e25ae4cbeb17fa3acc4417c51d6cbd69d7b816d9f44d93be7b5235604fa5b62e50189a897163aabe50fc82a05f27442721b71fd894ffbcded263e3424a313
|
@@ -2106,7 +2106,7 @@ vjs.Component.prototype.initChildren = function(){
|
|
2106
2106
|
// Allow options for children to be set at the parent options
|
2107
2107
|
// e.g. videojs(id, { controlBar: false });
|
2108
2108
|
// instead of videojs(id, { children: { controlBar: false });
|
2109
|
-
if (parentOptions[name]) {
|
2109
|
+
if (parentOptions[name] !== undefined) {
|
2110
2110
|
opts = parentOptions[name];
|
2111
2111
|
}
|
2112
2112
|
|
@@ -3158,7 +3158,7 @@ vjs.MenuItem = vjs.Button.extend({
|
|
3158
3158
|
vjs.MenuItem.prototype.createEl = function(type, props){
|
3159
3159
|
return vjs.Button.prototype.createEl.call(this, 'li', vjs.obj.merge({
|
3160
3160
|
className: 'vjs-menu-item',
|
3161
|
-
innerHTML: this.options_['label']
|
3161
|
+
innerHTML: this.localize(this.options_['label'])
|
3162
3162
|
}, props));
|
3163
3163
|
};
|
3164
3164
|
|
@@ -5879,7 +5879,7 @@ vjs.VolumeMenuButton.prototype.createMenu = function(){
|
|
5879
5879
|
var menu = new vjs.Menu(this.player_, {
|
5880
5880
|
contentElType: 'div'
|
5881
5881
|
});
|
5882
|
-
var vc = new vjs.VolumeBar(this.player_, this.options_
|
5882
|
+
var vc = new vjs.VolumeBar(this.player_, this.options_['volumeBar']);
|
5883
5883
|
vc.on('focus', function() {
|
5884
5884
|
menu.lockShowing();
|
5885
5885
|
});
|