Adjust play position quicker

This commit is contained in:
dave 2014-08-28 23:11:27 -07:00
parent 1930eddafd
commit 663a92c0d9
1 changed files with 3 additions and 1 deletions

View File

@ -157,9 +157,11 @@ var behaviors = {
// Add a class to the slider on hover
$(this).addClass("dragging")
}).on("slideStop", function(){
$(this).removeClass("dragging");
}).on("slide", function(){
newTime = $(".time-holder .player-slider").slider('getValue').val();
$("#player").jPlayer("play", parseInt(newTime))
$(this).removeClass("dragging");
});
},
play:function() {