From 8cdb3fc1b13b0058fe59a78060133fac58c1e0a5 Mon Sep 17 00:00:00 2001 From: Pliable Pixels Date: Mon, 13 Feb 2017 19:50:17 -0500 Subject: let's make GIF and MP4 an option in Dev Settings #454 --- www/js/DataModel.js | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'www/js/DataModel.js') diff --git a/www/js/DataModel.js b/www/js/DataModel.js index 51773a9d..d2b21c2c 100755 --- a/www/js/DataModel.js +++ b/www/js/DataModel.js @@ -150,6 +150,7 @@ angular.module('zmApp.controllers') 'timelineScale': -1, 'hideArchived': false, 'videoPlaybackSpeed': 2, + 'enableGIFMP4': false, }; @@ -986,6 +987,13 @@ angular.module('zmApp.controllers') } + if (typeof loginData.enableGIFMP4 == 'undefined') + { + + loginData.enableGIFMP4 = true; + + } + log("DataModel init recovered this loginData as " + JSON.stringify(loginData)); } else -- cgit v1.2.3