blob: 221e0dc7f4a2e3444876938f6a0333ccec94856a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
<ion-modal-view cache="false">
<!-- <ion-header-bar>
<h1 class="title">
<span style="float:left">
<button class="button button-clear icon icon-left ion-close" ng-click="closeModal()" >Close</button>
</span>
<span style="float:right">
{{eventName}} (Duration:{{eventDur}}s)
</span>
</h1>
</ion-header-bar> -->
<ion-content>
<div ng-controller="ModalCtrl">
<!-- replay can also be gapless -->
<ion-scroll has-bouncing=false min-zoom=1 zooming="true" direction="xy" style="width: 100%; ">
<img imageonload="finishedLoadingImage()" ng-src="{{loginData.streamingurl}}/cgi-bin/zms?source=event&mode=jpeg&event={{eventId}}&frame=1&maxfps={{loginData.maxFPS}}&replay=single&user={{loginData.username}}&pass={{loginData.password}}&connkey={{connKey}}&rand={{rand}}" width="100%" />
</ion-scroll>
</div>
</ion-content>
</ion-modal-view>
<nav mfb-menu position="br" effect="zoomin" label="collapse" active-icon="ion-chevron-down" resting-icon="ion-chevron-up" toggling-method="click">
<button mfb-button icon="ion-close" label="exit event view" ng-click="closeModal()"></button>
<a mfb-button icon="ion-skip-backward" label="previous" ng-click="controlEventStream(eventCommands.previous)"></a>
<a mfb-button icon="ion-skip-forward" label="next" ng-click="controlEventStream(eventCommands.next)"></a>
</nav>
<nav mfb-menu position="bl" effect="zoomin" label="collapse" active-icon="ion-chevron-down" resting-icon="ion-chevron-up" toggling-method="click">
<a mfb-button icon="ion-refresh" label="refresh" ng-click="reloadView()"></a>
<a mfb-button icon="ion-pause" label="pause" ng-click="controlEventStream(eventCommands.pause)"></a>
<a mfb-button icon="ion-play" label="play" ng-click="controlEventStream(eventCommands.play)"></a>
</nav>
|