Chaining .on call breaks with vjs v6
clintonbosch opened this issue · 1 comments
clintonbosch commented
The chained player.on 'mouseover' and 'mouseout' call breaks for some reason when using this plugin with v6 of videojs. Chainging to this fixes the problem:
player.on('mouseover', function() {
// on hover, fade in the social share tools
_ss.classList.add('is-visible');
});
player.on('mouseout', function() {
// when not hovering, fade share tools back out
_ss.classList.remove('is-visible');
});
Pull request to follow
jmccraw commented
Thanks. Fixed in another pull request.