videojs_rails 4.2.0 → 4.2.1

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: 88b3b5f8f836913f3bca1fd1a3792b33334a130a
4
- data.tar.gz: df5ce6bd13f124ce76d2e98fb3e48f533f5d473c
3
+ metadata.gz: 0dcee42bb1f916c32aef5ef86df53428fe7168ff
4
+ data.tar.gz: 3a7e5a930b7854f00cc540eb97a20815a75f2edd
5
5
  SHA512:
6
- metadata.gz: 69121b10577b3d4cfb4a434e405c462e11f626c181d08fbd4cd2e319ae0ed2c06c90dad5159e1e065c1cce8bb4ec6bca541f2411d2e297cdd0af1c7d57239c74
7
- data.tar.gz: caeae342a3c6951c051797a47ea19c6e28c743720ff3c10116626fcf5197d169ba05de344c1da78ac0aa0b19f41e3e408fa39cadd5c5086fd061dbe4382e543a
6
+ metadata.gz: cc75d0fadf92a1b58516bfc169a55cff9c06ee50a79534dcb212ef78646714bc98adc7663715f4ede6e1d640bd98f8e6a90faa9e32b9fa9966b3ccb9df1b732c
7
+ data.tar.gz: 614e72739eca27cb1d004da5d43feb41404a6f9fc2e100ed94516ffd6f66e0fab1df79b9ccebc695818fd48e3ef70fade0dd0686c737a31d8c3a0dcfecf672e8
@@ -1,3 +1,3 @@
1
1
  module VideojsRails
2
- VERSION = "4.2.0"
2
+ VERSION = "4.2.1"
3
3
  end
@@ -6441,9 +6441,13 @@ vjs.autoSetupTimeout = function(wait){
6441
6441
  setTimeout(vjs.autoSetup, wait);
6442
6442
  };
6443
6443
 
6444
- vjs.one(window, 'load', function(){
6444
+ if (document.readyState === 'complete') {
6445
6445
  vjs.windowLoaded = true;
6446
- });
6446
+ } else {
6447
+ vjs.one(window, 'load', function(){
6448
+ vjs.windowLoaded = true;
6449
+ });
6450
+ }
6447
6451
 
6448
6452
  // Run Auto-load players
6449
6453
  // You have to wait at least once in case this script is loaded after your video in the DOM (weird behavior only with minified version)
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  Video.js Default Styles (http://videojs.com)
3
- Version 4.2.0
3
+ Version 4.2.1
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.2.0
4
+ version: 4.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sean Behan