Frontend: Fix live videos when pictures were archived

Signed-off-by: Michael Mayer <michael@lastzero.net>
This commit is contained in:
Michael Mayer 2020-10-09 12:34:58 +02:00
parent 64d62c1d70
commit 80f9e78c93
4 changed files with 4 additions and 4 deletions

View file

@ -61,7 +61,7 @@
v-if="photo.Type === 'live'"
v-show="hover"
>
<video width="500" height="500" autoplay loop muted playsinline>
<video width="500" height="500" autoplay loop muted playsinline :key="photo.videoUrl()">
<source :src="photo.videoUrl()" type="video/mp4">
</video>
</v-layout>

View file

@ -60,7 +60,7 @@
v-if="photo.Type === 'live'"
v-show="hover"
>
<video width="224" height="224" autoplay loop muted playsinline>
<video width="224" height="224" autoplay loop muted playsinline :key="photo.videoUrl()">
<source :src="photo.videoUrl()" type="video/mp4">
</video>
</v-layout>

View file

@ -57,7 +57,7 @@
v-if="photo.Type === 'live'"
v-show="hover"
>
<video width="500" height="500" autoplay loop muted playsinline>
<video width="500" height="500" autoplay loop muted playsinline :key="photo.videoUrl()">
<source :src="photo.videoUrl()" type="video/mp4">
</video>
</v-layout>

View file

@ -56,7 +56,7 @@
v-if="photo.Type === 'live'"
v-show="hover"
>
<video width="224" height="224" autoplay loop muted playsinline>
<video width="224" height="224" autoplay loop muted playsinline :key="photo.videoUrl()">
<source :src="photo.videoUrl()" type="video/mp4">
</video>
</v-layout>