Once the video is playing, the default behaviour is for the controls to show on hover. Is this not happening for you? What browser are you using?
Thread Starter
Elise_
(@elise_)
Unfortunately no, the controls show only on click when the video is playing… It happens on every browser and computer tested, so I guess there must be a conflict with another plugin or javascript. I’m using the X Theme.
Thread Starter
Elise_
(@elise_)
Well I managed to make it work with a bit of simple custom JS, that’s all my simple brain could come up with 🙂
jQuery(function($) {
$('.video-wrapper').mouseover(function() {
if (jQuery('div').hasClass("vjs-playing")) {
jQuery('.vjs-control-bar').addClass("vjs-lock-showing");
}
});
});
jQuery(function($) {
$('.video-wrapper').mouseout(function() {
if (jQuery('div').hasClass("vjs-playing")) {
jQuery('.vjs-control-bar').removeClass("vjs-lock-showing");
}
});
});