videojs_rails 4.12.13 → 4.12.14

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: de9a5e1838b358e8fe7d7957b94c3e83b42e45dd
4
- data.tar.gz: e4e72272cf1316965a0299f8073674870bc8e9b8
3
+ metadata.gz: bd34c01c47f8f64b5a861de2989f953edb3e25e7
4
+ data.tar.gz: 90aa8d52c51fd060280dc1f6c564d7103a0b07bd
5
5
  SHA512:
6
- metadata.gz: f5e677554192837c809540d26c1ca3efd61db87b4cefa839f8a935682a394a99a761302792386939dc5d1070b3d0d2821cab7309d3d9bf3c3e68d86432582e9b
7
- data.tar.gz: 96782d301b3a893ebaf0df8d64763eaf8c9c574101a4549a5a6c762d717dfafe8527c8d3dd86e5adaf7b399324e4c685f0138c125a57269101cd675a32e47140
6
+ metadata.gz: 901dcfb2c667406f6c4c7a1ea312a7980ee4bec6d86db5226c76a265d1b83d858802c03d5cc9f1b06db8d864fb45261317f531fce9f14060f420ba63af5aa296
7
+ data.tar.gz: 6d76ee49a2f05621e443c18e76d11f8e94506acd8ea255393ec65b0c4cd3ae9a19ab135a3e8d23442060b2c6df77f2ce4c8ca2fc8393e29139111f9523e29aa4
@@ -1,3 +1,3 @@
1
1
  module VideojsRails
2
- VERSION = '4.12.13'
2
+ VERSION = '4.12.14'
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.13';
83
+ vjs['VERSION'] = '4.12.14';
84
84
 
85
85
  /**
86
86
  * Global Player instance options, surfaced from vjs.Player.prototype.options_
@@ -7145,10 +7145,6 @@ vjs.Html5 = vjs.MediaTechController.extend({
7145
7145
  }
7146
7146
  }
7147
7147
 
7148
- if (this['featuresNativeTextTracks']) {
7149
- this.on('loadstart', vjs.bind(this, this.hideCaptions));
7150
- }
7151
-
7152
7148
  // Determine if native controls should be used
7153
7149
  // Our goal should be to get the custom controls on mobile solid everywhere
7154
7150
  // so we can remove this all together. Right now this will block custom
@@ -7251,25 +7247,6 @@ vjs.Html5.prototype.createEl = function(){
7251
7247
  // jenniisawesome = true;
7252
7248
  };
7253
7249
 
7254
-
7255
- vjs.Html5.prototype.hideCaptions = function() {
7256
- var tracks = this.el_.querySelectorAll('track'),
7257
- track,
7258
- i = tracks.length,
7259
- kinds = {
7260
- 'captions': 1,
7261
- 'subtitles': 1
7262
- };
7263
-
7264
- while (i--) {
7265
- track = tracks[i].track;
7266
- if ((track && track['kind'] in kinds) &&
7267
- (!tracks[i]['default'])) {
7268
- track.mode = 'disabled';
7269
- }
7270
- }
7271
- };
7272
-
7273
7250
  // Make video events trigger player events
7274
7251
  // May seem verbose here, but makes other APIs possible.
7275
7252
  // Triggers removed using this.off when disposed
@@ -7512,25 +7489,6 @@ vjs.Html5.prototype.addRemoteTextTrack = function(options) {
7512
7489
  }
7513
7490
 
7514
7491
  this.el().appendChild(track);
7515
-
7516
- if (track.track['kind'] === 'metadata') {
7517
- track['track']['mode'] = 'hidden';
7518
- } else {
7519
- track['track']['mode'] = 'disabled';
7520
- }
7521
-
7522
- track['onload'] = function() {
7523
- var tt = track['track'];
7524
- if (track.readyState >= 2) {
7525
- if (tt['kind'] === 'metadata' && tt['mode'] !== 'hidden') {
7526
- tt['mode'] = 'hidden';
7527
- } else if (tt['kind'] !== 'metadata' && tt['mode'] !== 'disabled') {
7528
- tt['mode'] = 'disabled';
7529
- }
7530
- track['onload'] = null;
7531
- }
7532
- };
7533
-
7534
7492
  this.remoteTextTracks().addTrack_(track.track);
7535
7493
 
7536
7494
  return track;
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  Video.js Default Styles (http://videojs.com)
3
- Version 4.12.13
3
+ Version 4.12.14
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.13
4
+ version: 4.12.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sean Behan