videojs_rails 4.8.3 → 4.8.4

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: 5093b55d66cdc25d9e65648325bda986b8705e58
4
- data.tar.gz: 34b66738ca6220f699f5ad1885db7aab769ffbc4
3
+ metadata.gz: 54d48c3f2ccd027516f43223b2630a5d87d16800
4
+ data.tar.gz: e91d99527625f791795a712d9bf984a3897cd769
5
5
  SHA512:
6
- metadata.gz: cbebd8d7e5af0f2a10a936acff21f401f200bdadc70f29e68e730280adf94628a4235d0236faf8b8f9d6e9a5a18899bf3e6fec45fe6df86aeb2c3168664e07bb
7
- data.tar.gz: 80d0bfff3cba35f5d28ce579d7095668527ecf2bd07b6580fe950c5d32d93631e57921ded1fe028bcc44eea2b64dcbb571856a5071a7bd16dfeffd1f83e78505
6
+ metadata.gz: 5a42108c75e5a36bf3bb72349cea005df3b22cca6b4b64f40dc522377aa114fa9beadb8465f019e140df857fe36f990a9ee125d0be0dc2ebee1e360391bfdfc8
7
+ data.tar.gz: b3e72745a019b2718ab9e4daa9e0c3faddbb38b9540650ffe7cf10cdc74959c4c0e5c36c2cdb05399aefbb60cd65fe95907d00c8cd77427874f00bfe4157e90c
@@ -1,3 +1,3 @@
1
1
  module VideojsRails
2
- VERSION = '4.8.3'
2
+ VERSION = '4.8.4'
3
3
  end
@@ -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
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  Video.js Default Styles (http://videojs.com)
3
- Version 4.8.3
3
+ Version 4.8.4
4
4
  Create your own skin at http://designer.videojs.com
5
5
  */
6
6
  /* SKIN
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: videojs_rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.8.3
4
+ version: 4.8.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sean Behan