From 0c4401fb7b24ac2611ee66d8eb5b2239ebb030cf Mon Sep 17 00:00:00 2001 From: PliablePixels Date: Fri, 3 Jul 2015 16:07:26 -0400 Subject: added slow/fast rev/fwd --- www/js/EventCtrl.js | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) (limited to 'www/js') diff --git a/www/js/EventCtrl.js b/www/js/EventCtrl.js index eed6424c..952b4e88 100644 --- a/www/js/EventCtrl.js +++ b/www/js/EventCtrl.js @@ -17,6 +17,8 @@ angular.module('zmApp.controllers').controller('zmApp.EventCtrl', ['$ionicPlatfo $scope.connKey = Math.floor(Math.random() * (999999 - 111111 + 1)) + 111111; + + // These are the commands ZM uses to move around // in ZMS var eventCommands = { @@ -26,7 +28,11 @@ angular.module('zmApp.controllers').controller('zmApp.EventCtrl', ['$ionicPlatfo zoomout: "9", stop: "3", pause: "1", - play: "2" + play: "2", + fastFwd:"4", + slowFwd:"5", + fastRev:"7", + slowRev:"6" }; $scope.showSearch = false; @@ -270,6 +276,18 @@ angular.module('zmApp.controllers').controller('zmApp.EventCtrl', ['$ionicPlatfo case "1": toast_blurb = "pausing playback for "; break; + case "4": + toast_blurb = "fast forward "; + break; + case "5": + toast_blurb = "slow forward "; + break; + case "6": + toast_blurb = "slow rewind "; + break; + case "7": + toast_blurb = "fast rewind "; + break; } -- cgit v1.2.3