videojs_rails 4.12.10 → 4.12.11

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: 214118d649059fb283d024275de94e0f927da297
4
- data.tar.gz: 119f38605ef976e1336e0385fab186340e196cd7
3
+ metadata.gz: 54c47f2cb8e97aec8d78904d580cfa5e845e1dfd
4
+ data.tar.gz: 3ed9c74bf9bc9788f5716d15a0794f3a7cd63e11
5
5
  SHA512:
6
- metadata.gz: 0028d7e6c8bb634d76e477b7e8d098acac196f7b749b01ecbf395efcaab89a54ae0f42af3e56447e25dc43d4f414ee2ccbb474227283cc468d35be0d9b9680f4
7
- data.tar.gz: b726cd4911e1cbb778b825a4601bcab726e3ef9850bd01a37111afb45765395648f483d15fc812e27016cc71a5b6f4347407bb52f2f459aec7f6973c1952717e
6
+ metadata.gz: 5a9c6c784732a3afe59bbb2acfe5916127ef9ab93e711fdf69b8916dffa5c4711f6571b030ed35664fcb22c46434799a3329b668871ca60a6d425ce306dfed98
7
+ data.tar.gz: a9a8994b727325187fa9e328ff42225289218103af7e2be061589136b70d7fdc0212d432eb562b5ad8186ff9d0e34f7b3c32b5e995c31b36b10f0e3e420a7f2c
@@ -1,3 +1,3 @@
1
1
  module VideojsRails
2
- VERSION = '4.12.10'
2
+ VERSION = '4.12.11'
3
3
  end
@@ -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.10';
83
+ vjs['VERSION'] = '4.12.11';
84
84
 
85
85
  /**
86
86
  * Global Player instance options, surfaced from vjs.Player.prototype.options_
@@ -7997,9 +7997,19 @@ vjs.Flash.prototype.seekable = function() {
7997
7997
  };
7998
7998
 
7999
7999
  vjs.Flash.prototype.buffered = function(){
8000
+ if (!this.el_.vjs_getProperty) {
8001
+ return vjs.createTimeRange();
8002
+ }
8000
8003
  return vjs.createTimeRange(0, this.el_.vjs_getProperty('buffered'));
8001
8004
  };
8002
8005
 
8006
+ vjs.Flash.prototype.duration = function(){
8007
+ if (!this.el_.vjs_getProperty) {
8008
+ return 0;
8009
+ }
8010
+ return this.el_.vjs_getProperty('duration');
8011
+ };
8012
+
8003
8013
  vjs.Flash.prototype.supportsFullScreen = function(){
8004
8014
  return false; // Flash does not allow fullscreen through javascript
8005
8015
  };
@@ -8012,7 +8022,7 @@ vjs.Flash.prototype.enterFullScreen = function(){
8012
8022
  // Create setters and getters for attributes
8013
8023
  var api = vjs.Flash.prototype,
8014
8024
  readWrite = 'rtmpConnection,rtmpStream,preload,defaultPlaybackRate,playbackRate,autoplay,loop,mediaGroup,controller,controls,volume,muted,defaultMuted'.split(','),
8015
- readOnly = 'error,networkState,readyState,seeking,initialTime,duration,startOffsetTime,paused,played,ended,videoTracks,audioTracks,videoWidth,videoHeight'.split(','),
8025
+ readOnly = 'error,networkState,readyState,seeking,initialTime,startOffsetTime,paused,played,ended,videoTracks,audioTracks,videoWidth,videoHeight'.split(','),
8016
8026
  // Overridden: buffered, currentTime, currentSrc
8017
8027
  i;
8018
8028
 
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  Video.js Default Styles (http://videojs.com)
3
- Version 4.12.10
3
+ Version 4.12.11
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.12.10
4
+ version: 4.12.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sean Behan