From 5a34bc5a31c6b26afe89801f580c91ee2d492b79 Mon Sep 17 00:00:00 2001 From: Pliable Pixels Date: Mon, 27 Jun 2016 16:09:55 -0400 Subject: #275 - skipping timeouts for mp4 files but not sure if its ever called Former-commit-id: 5d4ee47eb18dc6a1398945de1e01880fb623fea9 --- www/js/app.js | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/www/js/app.js b/www/js/app.js index 3d0a8168..74a27c68 100644 --- a/www/js/app.js +++ b/www/js/app.js @@ -459,7 +459,14 @@ angular.module('zmApp', [ // these can take time, so lets bump up timeout config.timeout = zm.largeHttpTimeout; - } else { + } + else if ((config.url.indexOf("view=view_video")> -1) || + config.url.indexOf(".mp4")>-1) + { + console.log (">>> skipping timers for MP4"); + } + else + { config.timeout = zm.httpTimeout; } return config; -- cgit v1.2.3