I'm using input[type="range"]
as a progress bar for a video player, it's by simulating the event to change the time of the video because I only want the action to be executed only after the user drops the input
, Example :
$('input range').bind('change click mousemove', function() {
var atual_val = $(this).val();
vid.currenTime = atual_val;
});
If I just leave it that way, each time the user slides / drags the input
, while the action is executed the player will "bugar", so I want the video to only change the currentTime
after the user drop the input, how can I do this?