summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
Diffstat (limited to 'www')
-rw-r--r--www/js/EventModalCtrl.js6
1 files changed, 4 insertions, 2 deletions
diff --git a/www/js/EventModalCtrl.js b/www/js/EventModalCtrl.js
index f22f6dc0..096fc52f 100644
--- a/www/js/EventModalCtrl.js
+++ b/www/js/EventModalCtrl.js
@@ -212,7 +212,7 @@ angular.module('zmApp.controllers').controller('EventModalCtrl', ['$scope', '$ro
};
$scope.onPlaybackUpdate = function (rate) {
- // console.log ("UPDATED RATE TO "+rate);
+ //console.log ("UPDATED RATE TO "+rate);
var ld = NVR.getLogin();
ld.videoPlaybackSpeed = rate;
NVR.setLogin(ld);
@@ -244,7 +244,9 @@ angular.module('zmApp.controllers').controller('EventModalCtrl', ['$scope', '$ro
});
}
}
- NVR.debug ("Invoking play as video can be played");
+ var rate = NVR.getLogin().videoPlaybackSpeed;
+ NVR.debug ("Invoking play at rate:"+rate+" as video can be played");
+ handle.setPlayback (rate);
handle.play();
};