Skip to content

Commit d7dffb4

Browse files
authored
Merge pull request #92 from carlos-ribeiro-cedro/patch-1
Fix glitch when there are multiple videos
2 parents 4f53468 + 803bee1 commit d7dffb4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/components/LightBox.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@
4040
v-else
4141
ref="video"
4242
controls
43+
:key="media[select].sources[0].src"
4344
:width="media[select].width"
4445
:height="media[select].height"
4546
:autoplay="media[select].autoplay"

0 commit comments

Comments
 (0)