UX: Disable preloading in live player
This commit is contained in:
parent
27d5455153
commit
c949ec95ce
4 changed files with 4 additions and 4 deletions
|
@ -43,7 +43,7 @@
|
|||
@click.stop.prevent="onClick($event, index)"
|
||||
>
|
||||
<v-layout v-if="photo.Type === 'live'" class="live-player">
|
||||
<video :key="photo.ID" width="500" height="500" autoplay loop muted playsinline>
|
||||
<video :key="photo.ID" width="500" height="500" preload="none" :poster="photo.thumbnailUrl('tile_500')" autoplay loop muted playsinline>
|
||||
<source :src="photo.videoUrl()" type="video/mp4">
|
||||
</video>
|
||||
</v-layout>
|
||||
|
|
|
@ -42,7 +42,7 @@
|
|||
@click.stop.prevent="onClick($event, index)"
|
||||
>
|
||||
<v-layout v-if="photo.Type === 'live'" class="live-player">
|
||||
<video :key="photo.ID" width="224" height="224" autoplay loop muted playsinline>
|
||||
<video :key="photo.ID" width="224" height="224" preload="none" :poster="photo.thumbnailUrl('tile_224')" autoplay loop muted playsinline>
|
||||
<source :src="photo.videoUrl()" type="video/mp4">
|
||||
</video>
|
||||
</v-layout>
|
||||
|
|
|
@ -39,7 +39,7 @@
|
|||
@click.stop.prevent="onClick($event, index)"
|
||||
>
|
||||
<v-layout v-if="photo.Type === 'live'" class="live-player">
|
||||
<video :key="photo.ID" width="500" height="500" autoplay loop muted playsinline>
|
||||
<video :key="photo.ID" width="500" height="500" preload="none" :poster="photo.thumbnailUrl('tile_500')" autoplay loop muted playsinline>
|
||||
<source :src="photo.videoUrl()" type="video/mp4">
|
||||
</video>
|
||||
</v-layout>
|
||||
|
|
|
@ -38,7 +38,7 @@
|
|||
@click.stop.prevent="onClick($event, index)"
|
||||
>
|
||||
<v-layout v-if="photo.Type === 'live'" class="live-player">
|
||||
<video :key="photo.ID" width="224" height="224" autoplay loop muted playsinline>
|
||||
<video :key="photo.ID" width="224" height="224" preload="none" :poster="photo.thumbnailUrl('tile_224')" autoplay loop muted playsinline>
|
||||
<source :src="photo.videoUrl()" type="video/mp4">
|
||||
</video>
|
||||
</v-layout>
|
||||
|
|
Loading…
Reference in a new issue