videojs_rails 4.8.3 → 4.8.4
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: 54d48c3f2ccd027516f43223b2630a5d87d16800
|
4
|
+
data.tar.gz: e91d99527625f791795a712d9bf984a3897cd769
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5a42108c75e5a36bf3bb72349cea005df3b22cca6b4b64f40dc522377aa114fa9beadb8465f019e140df857fe36f990a9ee125d0be0dc2ebee1e360391bfdfc8
|
7
|
+
data.tar.gz: b3e72745a019b2718ab9e4daa9e0c3faddbb38b9540650ffe7cf10cdc74959c4c0e5c36c2cdb05399aefbb60cd65fe95907d00c8cd77427874f00bfe4157e90c
|
@@ -6398,6 +6398,20 @@ vjs.Html5.prototype.supportsFullScreen = function(){
|
|
6398
6398
|
|
6399
6399
|
vjs.Html5.prototype.enterFullScreen = function(){
|
6400
6400
|
var video = this.el_;
|
6401
|
+
|
6402
|
+
if ('webkitDisplayingFullscreen' in video) {
|
6403
|
+
this.one('webkitbeginfullscreen', vjs.bind(this, function(e) {
|
6404
|
+
this.player_.isFullscreen(true);
|
6405
|
+
|
6406
|
+
this.one('webkitendfullscreen', vjs.bind(this, function(e) {
|
6407
|
+
this.player_.isFullscreen(false);
|
6408
|
+
this.player_.trigger('fullscreenchange');
|
6409
|
+
}));
|
6410
|
+
|
6411
|
+
this.player_.trigger('fullscreenchange');
|
6412
|
+
}));
|
6413
|
+
}
|
6414
|
+
|
6401
6415
|
if (video.paused && video.networkState <= video.HAVE_METADATA) {
|
6402
6416
|
// attempt to prime the video element for programmatic access
|
6403
6417
|
// this isn't necessary on the desktop but shouldn't hurt
|