diff --git a/static/js/app.js b/static/js/app.js index 5243f56..29951fd 100644 --- a/static/js/app.js +++ b/static/js/app.js @@ -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() {