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: a09dc3e83720d1570eb33dd8908106b722983b6c
4
- data.tar.gz: 7d0d0b537a87eed19d17bd564e8eec73cc55ca0b
3
+ metadata.gz: ea6386cdc5c6833b596dbb1364360054507070bd
4
+ data.tar.gz: aef4b40f159609142b73b2d6f96c1abc0dfb8664
5
5
  SHA512:
6
- metadata.gz: 313c49c0e26e80117cff722cbe0d5568a455bb49706e87a7705d6b8d903dba9a4a075a1f56661d5a84810c5fdb6913010a0e70f9d52f428e7d92d7cfb42afb07
7
- data.tar.gz: 2e98ec34cc37c780820a97183b111d0c34aa949f840d89aeac283876f6e2b4628d9a15a1fbeaa352bf1ade6506ea307b7b8993d2dd26f097df30ea19d1fae61c
6
+ metadata.gz: 249b1ad18400aa4e05e9e1b045f2380615615caf709b5041221f7fc8cd11c4e31766fcf1ceabb193e8dbd63358eacee3b00b1f47eadc9a708b86a617207f50d8
7
+ data.tar.gz: 2e8e25ae4cbeb17fa3acc4417c51d6cbd69d7b816d9f44d93be7b5235604fa5b62e50189a897163aabe50fc82a05f27442721b71fd894ffbcded263e3424a313
@@ -1,3 +1,3 @@
1
1
  module VideojsRails
2
- VERSION = '4.10.1'
2
+ VERSION = '4.10.2'
3
3
  end
@@ -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_.volumeBar);
5882
+ var vc = new vjs.VolumeBar(this.player_, this.options_['volumeBar']);
5883
5883
  vc.on('focus', function() {
5884
5884
  menu.lockShowing();
5885
5885
  });
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  Video.js Default Styles (http://videojs.com)
3
- Version 4.10.1
3
+ Version 4.10.2
4
4
  Create your own skin at http://designer.videojs.com
5
5
  */
6
6
  /* SKIN
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: videojs_rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.10.1
4
+ version: 4.10.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sean Behan