videojs_rails 4.11.1 → 4.11.2

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: 243d432a393e60c904527d8c286a74c87f2aa6da
4
- data.tar.gz: d24352b449747da29da254f7086bd092009cd61f
3
+ metadata.gz: a3523e7716c39f5af1ee6260f96c7492877d14a8
4
+ data.tar.gz: 55906a87ecf4127fc0aa9cc0717099912938d11c
5
5
  SHA512:
6
- metadata.gz: b49cf329b1a08d61ca789288aec81ba243a824ec13d286b5bc0621c31a139943f67b09dc42dfff800576a799f977a1a92fb045f6d9f643069b7d6ff49e2c86ea
7
- data.tar.gz: 8a7fff9ea644f561c3ecb6edbea599792cb121a6ba858a84c837bda5dce73236ed52573388625f2d6e4e05bbd78f94a7c1b88b660f1ce03fad1ba1d53631a025
6
+ metadata.gz: 8b0db283d8cbcf4aa2051278a7e6557a06d922ce0dfe100f0bfe28796b205fba44ee90b5a7df68be6e877ef88adcfd171829d63bf91bbea8c432d98f8c233a8f
7
+ data.tar.gz: 7cf6f3e1e44116bfa89a85717feff94d1ce92c30ddb26c1d8d55cd4e7226dbea2e2eab1f23ec346c888a8154f093e0a01b9eb69fed75c7db1a6314ea9c63a819
@@ -1,3 +1,3 @@
1
1
  module VideojsRails
2
- VERSION = '4.11.1'
2
+ VERSION = '4.11.2'
3
3
  end
@@ -4768,7 +4768,9 @@ vjs.Player.prototype.src = function(source){
4768
4768
 
4769
4769
  // The setSource tech method was added with source handlers
4770
4770
  // so older techs won't support it
4771
- if (this.tech['setSource']) {
4771
+ // We need to check the direct prototype for the case where subclasses
4772
+ // of the tech do not support source handlers
4773
+ if (window['videojs'][this.techName].prototype.hasOwnProperty('setSource')) {
4772
4774
  this.techCall('setSource', source);
4773
4775
  } else {
4774
4776
  this.techCall('src', source.src);
@@ -6050,11 +6052,11 @@ vjs.PlaybackRateMenuButton = vjs.MenuButton.extend({
6050
6052
  }
6051
6053
  });
6052
6054
 
6055
+ vjs.PlaybackRateMenuButton.prototype.buttonText = 'Playback Rate';
6056
+ vjs.PlaybackRateMenuButton.prototype.className = 'vjs-playback-rate';
6057
+
6053
6058
  vjs.PlaybackRateMenuButton.prototype.createEl = function(){
6054
- var el = vjs.Component.prototype.createEl.call(this, 'div', {
6055
- className: 'vjs-playback-rate vjs-menu-button vjs-control',
6056
- innerHTML: '<div class="vjs-control-content"><span class="vjs-control-text">' + this.localize('Playback Rate') + '</span></div>'
6057
- });
6059
+ var el = vjs.MenuButton.prototype.createEl.call(this);
6058
6060
 
6059
6061
  this.labelEl_ = vjs.createEl('div', {
6060
6062
  className: 'vjs-playback-rate-value',
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  Video.js Default Styles (http://videojs.com)
3
- Version 4.11.1
3
+ Version 4.11.2
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.11.1
4
+ version: 4.11.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sean Behan