summaryrefslogtreecommitdiff
path: root/www/js/EventCtrl.js
diff options
context:
space:
mode:
authorPliable Pixels <pliablepixels@gmail.com>2016-11-19 17:02:36 -0500
committerPliable Pixels <pliablepixels@gmail.com>2016-11-19 17:02:36 -0500
commit76b17d856fe7ce6ccaa377e31a53a733920548df (patch)
treef7eccc07d51b3b69f51cc4be9ccad490684748a1 /www/js/EventCtrl.js
parent5d69f02c6b8b40047daa5670a812f5965e8a3121 (diff)
added playback rate control 1,1.5,2x. #382
Diffstat (limited to 'www/js/EventCtrl.js')
-rw-r--r--www/js/EventCtrl.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/www/js/EventCtrl.js b/www/js/EventCtrl.js
index 60987392..98557f7a 100644
--- a/www/js/EventCtrl.js
+++ b/www/js/EventCtrl.js
@@ -1,6 +1,6 @@
/* jshint -W041 */
/* jslint browser: true*/
-/* global saveAs, cordova,StatusBar,angular,console,moment, MobileAccessibility, gifshot */
+/* global saveAs, cordova,StatusBar,angular,console,moment, MobileAccessibility, gifshot, AnimatedGIF */
// This is the controller for Event view. StateParams is if I recall the monitor ID.
// This was before I got access to the new APIs. FIXME: Revisit this code to see what I am doing with it
@@ -961,6 +961,7 @@ angular.module('zmApp.controllers')
var ad = adjustAspect(e);
console.log("SAVING W=" + ad.w + " H=" + ad.h);
+ //AnimatedGIF.setRepeat(null);
gifshot.createGIF(
{
//'images': ['http://i.imgur.com/2OO33vX.jpg', 'http://i.imgur.com/qOwVaSN.png', 'http://i.imgur.com/Vo5mFZJ.gif'],
@@ -968,6 +969,7 @@ angular.module('zmApp.controllers')
'gifHeight': ad.h,
'images': imgs,
'interval':1,
+ //'loop':null,
'sampleInterval':20,
//'frameDur':5, // 1/2 a sec
'text': 'zmNinja',