-
Notifications
You must be signed in to change notification settings - Fork 7.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
vjs-lock-showing class gets removed from menu when no longer hovering on menu-button. #1690
Comments
What are the steps to reproduce? Is this something that was working and is now broken? If so do you know which version it stopped working in? |
Um... It was working in previous version of vjs (3.x). |
This is the part of the code that's doing it: vjs.MenuButton.prototype.onClick = function(){
// When you click the button it adds focus, which will show the menu indefinitely.
// So we'll remove focus when the mouse leaves the button.
// Focus is needed for tab navigation.
this.one('mouseout', vjs.bind(this, function(){
this.menu.unlockShowing();
this.el_.blur();
}));
if (this.buttonPressed_){
this.unpressButton();
} else {
this.pressButton();
}
}; Specifically, it's that |
@CPColin awesome, thanks for tracking it down. |
@gkatsev No prob. I had just run into the problem myself and was looking for a workaround. |
Has anybody had a chance to look into this? Do we need to do something or provide more details? |
Unfortunately, we're very busy. (See #1736). |
Ran into the problem too and fixed it by downgrading to v4.8.5 as this bug appears in 4.9.0. |
+1 this - videojs-speed plugin is broken in latest version because menu items won't stay open. Using v4.8.5 works fine. |
@jeffski videojs-speed will only work with 4.8.5 because it's relying on mangled properties. To be honest, that should probably be removed from the plugins list, especially since playback rates are supported in core now. videojs('my-video', { playbackRates: [ 0.5, 1, 1.5] }); |
Thanks @mmcc, will try the core way instead. |
Btw, I updated the wiki page to "deprecate" the plugin. |
No description provided.
The text was updated successfully, but these errors were encountered: