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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a3523e7716c39f5af1ee6260f96c7492877d14a8
|
4
|
+
data.tar.gz: 55906a87ecf4127fc0aa9cc0717099912938d11c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8b0db283d8cbcf4aa2051278a7e6557a06d922ce0dfe100f0bfe28796b205fba44ee90b5a7df68be6e877ef88adcfd171829d63bf91bbea8c432d98f8c233a8f
|
7
|
+
data.tar.gz: 7cf6f3e1e44116bfa89a85717feff94d1ce92c30ddb26c1d8d55cd4e7226dbea2e2eab1f23ec346c888a8154f093e0a01b9eb69fed75c7db1a6314ea9c63a819
|
@@ -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
|
-
|
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.
|
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',
|