I am using the Slider to control the volume on two JWPlayers on our site.
For some reason it works great on all browsers except FireFox. The slider moves chunkily across the screen and causes the video to stutter in rhythm.
I have absolutely no idea what could cause this issue. Any help would be great.
Here is the script I am using.
var sld = new dhtmlxSlider("mainVolume", { size:300, skin: "", vertical:false, step:1, min:-100, max:100, value:-70 }); sld.init();
sld.setImagePath("http://www.synergize.com/js/codebase/imgs/");
sld.attachEvent("onChange",function(newValue,sliderObj) {
if (newValue<-10)
{
jwplayer(leftStage).setVolume(newValue*-1.00)
jwplayer(rightLounge).setVolume(0)
}
else if (newValue>-10, newValue<10 )
{
jwplayer(leftStage).setVolume(0)
jwplayer(rightLounge).setVolume(0)
}
else if (newValue>10)
{
jwplayer(leftStage).setVolume(0)
jwplayer(rightLounge).setVolume(newValue)
}
})
</script>