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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bd34c01c47f8f64b5a861de2989f953edb3e25e7
|
4
|
+
data.tar.gz: 90aa8d52c51fd060280dc1f6c564d7103a0b07bd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 901dcfb2c667406f6c4c7a1ea312a7980ee4bec6d86db5226c76a265d1b83d858802c03d5cc9f1b06db8d864fb45261317f531fce9f14060f420ba63af5aa296
|
7
|
+
data.tar.gz: 6d76ee49a2f05621e443c18e76d11f8e94506acd8ea255393ec65b0c4cd3ae9a19ab135a3e8d23442060b2c6df77f2ce4c8ca2fc8393e29139111f9523e29aa4
|
@@ -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.
|
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;
|