mirror of
https://github.com/videojs/video.js.git
synced 2025-03-17 21:18:27 +02:00
fix(playback rate menu): playback rate menu items should be selectable (#4149)
This commit is contained in:
parent
5265624410
commit
a9f8fcb2a2
@ -27,6 +27,8 @@ class PlaybackRateMenuItem extends MenuItem {
|
||||
// Modify options for parent MenuItem class's init.
|
||||
options.label = label;
|
||||
options.selected = rate === 1;
|
||||
options.selectable = true;
|
||||
|
||||
super(player, options);
|
||||
|
||||
this.label = label;
|
||||
|
Loading…
x
Reference in New Issue
Block a user