align webcam feed with image view
This commit is contained in:
parent
fbadf46a60
commit
596f3adc0b
1 changed files with 7 additions and 1 deletions
|
@ -6,7 +6,13 @@
|
||||||
:src="item.dataImage || `https://c3lf.de/api/1/thumbs/${item.file}`"
|
:src="item.dataImage || `https://c3lf.de/api/1/thumbs/${item.file}`"
|
||||||
alt="Image not available."
|
alt="Image not available."
|
||||||
/>
|
/>
|
||||||
<video v-if="capturing" ref="video" class="img-fluid">Video stream not available.</video>
|
<video
|
||||||
|
v-if="capturing"
|
||||||
|
ref="video"
|
||||||
|
class="img-fluid rounded mx-auto d-block mb-3"
|
||||||
|
>
|
||||||
|
Video stream not available.
|
||||||
|
</video>
|
||||||
<canvas ref="canvas" class="img-fluid d-none"/>
|
<canvas ref="canvas" class="img-fluid d-none"/>
|
||||||
<div v-if="capturing && !streaming" class="d-flex justify-content-center">
|
<div v-if="capturing && !streaming" class="d-flex justify-content-center">
|
||||||
<div class="spinner-grow text-danger" role="status">
|
<div class="spinner-grow text-danger" role="status">
|
||||||
|
|
Loading…
Reference in a new issue