Open michaelguild13 opened 11 years ago
add this in
$that.find('.volume').slider({ value : 50, max: 100, range: 'min', animate: true, orientation: "vertical", slide: function(event, ui) { if(ui.value <= 80){ console.log(ui.value); var volume = ui.value / 100; $jPlayerObj.jPlayer("volume", volume); }else{ return false; }; } });
add this in
$that.find('.volume').slider({ value : 50, max: 100, range: 'min', animate: true, orientation: "vertical", slide: function(event, ui) { if(ui.value <= 80){ console.log(ui.value); var volume = ui.value / 100; $jPlayerObj.jPlayer("volume", volume); }else{ return false; }; } });