videojs_rails 4.12.1 → 4.12.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5e44c32fd30099edec1ee45248e33ba12e1cbd15
4
- data.tar.gz: 3761890734c31a800e1f10980cb0bdfef3221a9d
3
+ metadata.gz: 0e9dd8c57a3f44f21bbdd0526f8751349f7d2e37
4
+ data.tar.gz: 50a6b94ae1cebcd733fdc0ed88120a3db3510dd2
5
5
  SHA512:
6
- metadata.gz: d679a86f1df31471b58e16be2fb49ca8a030da78df1fc7a182cab4c3f04a4575d42f2d449760c1901504dfbebf7b4c424b0b2137fe8b783d885b5751c972f9fe
7
- data.tar.gz: a471ff3ae620ba7cce11f27222b16cd1aaacf50853069908fcea7caebfec7e842e0516ecae2e6422d8864d60c40f39ca50c6da41c81b0fa1defe750c4a7102c1
6
+ metadata.gz: 5260fbc4a13ce894ee1a2e9dcce467a2f455fc8fa422e7bdce1ab8ebf7b7981da12666b13119423f66f91b711c665e95b349c6af0bd71d2506a83e15c586dae3
7
+ data.tar.gz: 20cdf63b14d76921dcb62e224fa90831b27245814a0ef2c6fe5bd16dea22efa958fb1e00b5c00b89e0989c724180fa1d51c356279d7684a2ed73592a8d4b86c7
@@ -1,3 +1,3 @@
1
1
  module VideojsRails
2
- VERSION = '4.12.1'
2
+ VERSION = '4.12.2'
3
3
  end
@@ -80,7 +80,7 @@ vjs.ACCESS_PROTOCOL = ('https:' == document.location.protocol ? 'https://' : 'ht
80
80
  * Full player version
81
81
  * @type {string}
82
82
  */
83
- vjs['VERSION'] = '4.12.1';
83
+ vjs['VERSION'] = '4.12.2';
84
84
 
85
85
  /**
86
86
  * Global Player instance options, surfaced from vjs.Player.prototype.options_
@@ -7223,7 +7223,7 @@ vjs.Html5.prototype.createEl = function(){
7223
7223
 
7224
7224
 
7225
7225
  vjs.Html5.prototype.hideCaptions = function() {
7226
- var tracks = this.el_.textTracks,
7226
+ var tracks = this.el_.querySelectorAll('track'),
7227
7227
  track,
7228
7228
  i = tracks.length,
7229
7229
  kinds = {
@@ -7232,8 +7232,9 @@ vjs.Html5.prototype.hideCaptions = function() {
7232
7232
  };
7233
7233
 
7234
7234
  while (i--) {
7235
- track = tracks[i];
7236
- if (track && track['kind'] in kinds) {
7235
+ track = tracks[i].track;
7236
+ if ((track && track['kind'] in kinds) &&
7237
+ (!tracks[i]['default'])) {
7237
7238
  track.mode = 'disabled';
7238
7239
  }
7239
7240
  }
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  Video.js Default Styles (http://videojs.com)
3
- Version 4.12.1
3
+ Version 4.12.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.12.1
4
+ version: 4.12.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sean Behan