videojs_rails 4.12.2 → 4.12.3
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: 93889f87f6b7a0c06af5fec3e0af2989690e8660
|
|
4
|
+
data.tar.gz: 22864d9690f3f52ef71dfc6483f17f937183e307
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 268e86c307b4b7f4fbc5bf27a70fc48857305c787bacbe03eaa56e271b7a2a9a4b4db6312b72478205c5144087f0eeaf47d01cae2ce7903d7a7cbb97893de6fe
|
|
7
|
+
data.tar.gz: af9066b7d2386efaf9619001a11a01a64232b9699aa368613f1bef984d5debe265ea3e62c6696913c44ca58478ff700ffe51b1abad91d1e6f9ea055acf975cd3
|
|
@@ -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.3';
|
|
84
84
|
|
|
85
85
|
/**
|
|
86
86
|
* Global Player instance options, surfaced from vjs.Player.prototype.options_
|
|
@@ -7029,6 +7029,16 @@ vjs.MediaTechController.withSourceHandlers = function(Tech){
|
|
|
7029
7029
|
Tech.prototype.setSource = function(source){
|
|
7030
7030
|
var sh = Tech.selectSourceHandler(source);
|
|
7031
7031
|
|
|
7032
|
+
if (!sh) {
|
|
7033
|
+
// Fall back to a native source hander when unsupported sources are
|
|
7034
|
+
// deliberately set
|
|
7035
|
+
if (Tech.nativeSourceHandler) {
|
|
7036
|
+
sh = Tech.nativeSourceHandler;
|
|
7037
|
+
} else {
|
|
7038
|
+
vjs.log.error('No source hander found for the current source.');
|
|
7039
|
+
}
|
|
7040
|
+
}
|
|
7041
|
+
|
|
7032
7042
|
// Dispose any existing source handler
|
|
7033
7043
|
this.disposeSourceHandler();
|
|
7034
7044
|
this.off('dispose', this.disposeSourceHandler);
|