summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--www/js/app.js9
1 files changed, 8 insertions, 1 deletions
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;