summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
Diffstat (limited to 'www')
-rw-r--r--www/js/EventCtrl.js1
-rw-r--r--www/templates/events-modal.html4
2 files changed, 3 insertions, 2 deletions
diff --git a/www/js/EventCtrl.js b/www/js/EventCtrl.js
index 85421126..9a8bfdf2 100644
--- a/www/js/EventCtrl.js
+++ b/www/js/EventCtrl.js
@@ -2900,6 +2900,7 @@ angular.module('zmApp.controllers')
id: 'footage',
showLive:sl, // seems bool is not allowed...
snapshot:snapshot,
+ snapshotId: event.Event.MaxScoreFrameId,
eventId:event.Event.Id
})
.then(function(modal)
diff --git a/www/templates/events-modal.html b/www/templates/events-modal.html
index 46da0956..1dd469e1 100644
--- a/www/templates/events-modal.html
+++ b/www/templates/events-modal.html
@@ -12,10 +12,10 @@
<!--<div style="color:white">connkey:{{connKey}}</div>-->
<div style="width:100vw; height:100vh;">
- <div ng-if="isSnapShot()" class="event-modal-play">
+ <div ng-if="isSnapShot() && !liveFeedMid" class="event-modal-play">
<button class="button button-assertive icon ion-play" ng-click="convertSnapShotToStream()">&nbsp;{{'kPlay'|translate}}</button>
</div>
- <div ng-if="isSnapShot()">
+ <div ng-if="isSnapShot() && !liveFeedMid">
<div class="events-range-modal-text">{{mName}}&nbsp;<i class="ion-arrow-right-b"></i>&nbsp;{{videoDynamicTime}} ({{humanizeTime}}) [{{d_eventId}}] <span class="events-range-modal-warning-text">{{eventWarning}}</span> </div>
</div>