Skip to content

Commit 82b355a

Browse files
improve videowall video to still image stutter
1 parent e235491 commit 82b355a

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/videowall/src/components/VideoPlayer.vue

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,10 @@ const resetVideo = () => {
2727
};
2828
2929
const handleVideoEnded = () => {
30-
resetVideo();
3130
emits('stop');
31+
setTimeout(() => {
32+
resetVideo();
33+
}, 130); // half of the css var(--transition-duration-video-out)
3234
};
3335
3436
onBeforeUnmount(() => {

0 commit comments

Comments
 (0)