Seek track on drag

This commit is contained in:
dave 2014-08-28 23:05:54 -07:00
parent 1c31a2799c
commit 70ebac142f
1 changed files with 3 additions and 1 deletions

View File

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