onwheel = function(e){ var del = e.deltaY/100; player.setVolume( player.getVolume() + del > 100 ? 100 : player.getVolume() + del < 0 ? 0 : player.getVolume() + del ); };