From 76b17d856fe7ce6ccaa377e31a53a733920548df Mon Sep 17 00:00:00 2001 From: Pliable Pixels Date: Sat, 19 Nov 2016 17:02:36 -0500 Subject: added playback rate control 1,1.5,2x. #382 --- www/js/EventCtrl.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'www/js/EventCtrl.js') 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', -- cgit v1.2.3