mirror of
https://github.com/videojs/video.js.git
synced 2025-03-17 21:18:27 +02:00
This commit is contained in:
parent
daa66b9183
commit
bb5582abd3
@ -2,7 +2,7 @@ CHANGELOG
|
||||
=========
|
||||
|
||||
## HEAD (Unreleased)
|
||||
_(none)_
|
||||
* @mmcc fixed a bug where the playback rate menu would not open ([view](https://github.com/videojs/video.js/pull/1716))
|
||||
|
||||
--------------------
|
||||
|
||||
|
@ -18,11 +18,11 @@ vjs.PlaybackRateMenuButton = vjs.MenuButton.extend({
|
||||
}
|
||||
});
|
||||
|
||||
vjs.PlaybackRateMenuButton.prototype.buttonText = 'Playback Rate';
|
||||
vjs.PlaybackRateMenuButton.prototype.className = 'vjs-playback-rate';
|
||||
|
||||
vjs.PlaybackRateMenuButton.prototype.createEl = function(){
|
||||
var el = vjs.Component.prototype.createEl.call(this, 'div', {
|
||||
className: 'vjs-playback-rate vjs-menu-button vjs-control',
|
||||
innerHTML: '<div class="vjs-control-content"><span class="vjs-control-text">' + this.localize('Playback Rate') + '</span></div>'
|
||||
});
|
||||
var el = vjs.MenuButton.prototype.createEl.call(this);
|
||||
|
||||
this.labelEl_ = vjs.createEl('div', {
|
||||
className: 'vjs-playback-rate-value',
|
||||
|
Loading…
x
Reference in New Issue
Block a user