-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathvideo-capture.html
31 lines (27 loc) · 1.06 KB
/
video-capture.html
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
<template name="lmVideoCapture">
<div class='lm-video-capture-video-section'>
{{ #unless data.platformSupport.supported }}
<div class='lm-video-capture-message'>{{ data.platformSupport.message }}</div>
{{ else }}
{{ #if data.processing }}
<div class='lm-video-capture-processing'>
Video is processing.. This could take up to 15 seconds. Thank you for being patient.
</div>
{{ /if }}
<div>
<div class='lm-video-capture-record-start-btn {{data.classes.recordBtn}}'>Record</div>
{{ #if data.showStopButton }}
<div class='lm-video-capture-record-stop-btn {{data.classes.stopBtn}}'>Stop</div>
{{ /if }}
</div>
<div class='lm-video-capture-video'>
<video autoplay width='{{ data.videoDisplay.width }}' height='{{ data.videoDisplay.height }}' controls></video>
</div>
{{ #if data.countdownTimer }}
<div class='lm-video-capture-countdown'>
Time left: {{ data.countdownTimer }}
</div>
{{ /if }}
{{ /unless }}
</div>
</template>