summaryrefslogtreecommitdiff
path: root/www/js/EventCtrl.js
diff options
context:
space:
mode:
authorPliablePixels <pliablepixels@gmail.com>2015-07-03 16:07:26 -0400
committerPliablePixels <pliablepixels@gmail.com>2015-07-03 16:07:26 -0400
commit0c4401fb7b24ac2611ee66d8eb5b2239ebb030cf (patch)
tree2101ef41d26a46244ff41926eb11e649403bbba5 /www/js/EventCtrl.js
parentbe04ce47d528ad95f75e1eb8f9cdade98abed0ac (diff)
added slow/fast rev/fwd
Diffstat (limited to 'www/js/EventCtrl.js')
-rw-r--r--www/js/EventCtrl.js20
1 files changed, 19 insertions, 1 deletions
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;
}