videojs_rails 4.4.2 → 4.4.3
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: b56e9349e37bb967f0f27b85f9efbcc32e34ed8a
|
4
|
+
data.tar.gz: 1c51a53bf2d823dde50a3bd59f4e13412674ddb1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0d6496d86af06615ada5403fae163400a90f8b6257671652b65f11bf63c17433093965ab56fbefc770a982799124abdf828b16468449a7356848974e1e93ff5d
|
7
|
+
data.tar.gz: b2b0d675a6192a8aebbb4ef380c646451696e4079d7d312cc9999e75fe57d5d05a9ac463a32fe6a5457de2570498b2435cdf625d2dcf22a7a6d5a1cd4e0ed80a
|
@@ -5209,6 +5209,14 @@ vjs.MediaTechController.prototype.onTap = function(){
|
|
5209
5209
|
this.player().userActive(!this.player().userActive());
|
5210
5210
|
};
|
5211
5211
|
|
5212
|
+
/**
|
5213
|
+
* Provide a default setPoster method for techs
|
5214
|
+
*
|
5215
|
+
* Poster support for techs should be optional, so we don't want techs to
|
5216
|
+
* break if they don't have a way to set a poster.
|
5217
|
+
*/
|
5218
|
+
vjs.MediaTechController.prototype.setPoster = function(){};
|
5219
|
+
|
5212
5220
|
vjs.MediaTechController.prototype.features = {
|
5213
5221
|
'volumeControl': true,
|
5214
5222
|
|
@@ -5479,6 +5487,13 @@ vjs.Html5.prototype.defaultMuted = function(){ return this.el_.defaultMuted; };
|
|
5479
5487
|
/* HTML5 Support Testing ---------------------------------------------------- */
|
5480
5488
|
|
5481
5489
|
vjs.Html5.isSupported = function(){
|
5490
|
+
// ie9 with no Media Player is a LIAR! (#984)
|
5491
|
+
try {
|
5492
|
+
vjs.TEST_VID['volume'] = 0.5;
|
5493
|
+
} catch (e) {
|
5494
|
+
return false;
|
5495
|
+
}
|
5496
|
+
|
5482
5497
|
return !!vjs.TEST_VID.canPlayType;
|
5483
5498
|
};
|
5484
5499
|
|
@@ -5523,8 +5538,16 @@ vjs.Html5.disposeMediaElement = function(el){
|
|
5523
5538
|
el.removeAttribute('src');
|
5524
5539
|
|
5525
5540
|
// force the media element to update its loading state by calling load()
|
5541
|
+
// however IE on Windows 7N has a bug that throws an error so need a try/catch (#793)
|
5526
5542
|
if (typeof el.load === 'function') {
|
5527
|
-
|
5543
|
+
// wrapping in an iife so it's not deoptimized (#1060#discussion_r10324473)
|
5544
|
+
(function() {
|
5545
|
+
try {
|
5546
|
+
el.load();
|
5547
|
+
} catch (e) {
|
5548
|
+
// not supported
|
5549
|
+
}
|
5550
|
+
})();
|
5528
5551
|
}
|
5529
5552
|
};
|
5530
5553
|
|