diff options
| author | Pliable Pixels <pliablepixels@gmail.com> | 2018-11-23 10:52:53 -0500 |
|---|---|---|
| committer | Pliable Pixels <pliablepixels@gmail.com> | 2018-11-23 10:52:53 -0500 |
| commit | 0a4df85f5838cd32927d47d75c50899f6a7a5b4c (patch) | |
| tree | cce4f543f7a2f032c67e693410d12385dfd1dbc2 /www/js/EventCtrl.js | |
| parent | ed485b7a29ceb8b59e36ed09f8373dcb88f79461 (diff) | |
switch between snapshot and support for older versions
Diffstat (limited to 'www/js/EventCtrl.js')
| -rw-r--r-- | www/js/EventCtrl.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/www/js/EventCtrl.js b/www/js/EventCtrl.js index 66ff6463..8947df19 100644 --- a/www/js/EventCtrl.js +++ b/www/js/EventCtrl.js @@ -2606,7 +2606,7 @@ angular.module('zmApp.controllers') id: 'footage', showLive: sl, // seems bool is not allowed... snapshot: snapshot, - snapshotId: event.Event.MaxScoreFrameId, + snapshotId: NVRDataModel.getSnapshotFrame(), eventId: event.Event.Id }) .then(function (modal) { @@ -2881,7 +2881,7 @@ angular.module('zmApp.controllers') var stream = ""; stream = event.Event.recordingURL + "/index.php?view=image&show=capture&fid=" + - (event.Event.MaxScoreFrameId ? event.Event.MaxScoreFrameId : "1&eid=" + event.Event.Id) + + NVRDataModel.getSnapshotFrame()+"&eid="+event.Event.Id + "&width=" + event.Event.thumbWidth * 2 + "&height=" + event.Event.thumbHeight * 2; if ($rootScope.authSession != 'undefined') stream += $rootScope.authSession; |
