diff options
| author | Pliable Pixels <pliablepixels@gmail.com> | 2016-06-27 16:09:55 -0400 |
|---|---|---|
| committer | Pliable Pixels <pliablepixels@gmail.com> | 2016-06-27 16:09:55 -0400 |
| commit | 5a34bc5a31c6b26afe89801f580c91ee2d492b79 (patch) | |
| tree | 8f9bfee46b13c02426e898b0b88052c5be6bee67 /www/js/app.js | |
| parent | 228444889dabfc23c87727ddc879b01f40e97a7f (diff) | |
#275 - skipping timeouts for mp4 files but not sure if its ever called
Former-commit-id: 5d4ee47eb18dc6a1398945de1e01880fb623fea9
Diffstat (limited to 'www/js/app.js')
| -rw-r--r-- | www/js/app.js | 9 |
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; |
