videojs_rails 4.12.1 → 4.12.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: 0e9dd8c57a3f44f21bbdd0526f8751349f7d2e37
|
4
|
+
data.tar.gz: 50a6b94ae1cebcd733fdc0ed88120a3db3510dd2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5260fbc4a13ce894ee1a2e9dcce467a2f455fc8fa422e7bdce1ab8ebf7b7981da12666b13119423f66f91b711c665e95b349c6af0bd71d2506a83e15c586dae3
|
7
|
+
data.tar.gz: 20cdf63b14d76921dcb62e224fa90831b27245814a0ef2c6fe5bd16dea22efa958fb1e00b5c00b89e0989c724180fa1d51c356279d7684a2ed73592a8d4b86c7
|
@@ -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.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_.
|
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
|
}
|