From 70ebac142ff7f393243df798a2ddbe775bed45b1 Mon Sep 17 00:00:00 2001 From: dave Date: Thu, 28 Aug 2014 23:05:54 -0700 Subject: [PATCH] Seek track on drag --- static/js/app.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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() {