align webcam feed with image view

This commit is contained in:
busti 2019-12-21 19:29:27 +01:00
parent fbadf46a60
commit 596f3adc0b

View file

@ -6,7 +6,13 @@
:src="item.dataImage || `https://c3lf.de/api/1/thumbs/${item.file}`"
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"/>
<div v-if="capturing && !streaming" class="d-flex justify-content-center">
<div class="spinner-grow text-danger" role="status">