Skip to content

Commit

Permalink
fix(ui): fix arrow keys not changing video items
Browse files Browse the repository at this point in the history
  • Loading branch information
sentriz committed Dec 7, 2022
1 parent 6e11818 commit af7d43b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/components/MediaHighlight.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<div v-if="thumb && isVideo" class="absolute top-2 right-2 rounded-md bg-black/80 p-2">
<video-camera-icon class="h-5 text-white" />
</div>
<video v-if="!thumb && isVideo && media" :controls="true" @loadstart="loaded">
<video :key="url" v-if="!thumb && isVideo && media" :controls="true" @loadstart="loaded">
<source :src="url" :type="media.mime" />
</video>
<img v-else :src="url" @load="loaded" />
Expand Down

0 comments on commit af7d43b

Please sign in to comment.