Skip to content

High performance self-hosted photo and video management solution.

fix(web) video keep playing when mouse is not over video (#885)

Alex137b2ffdd0f4
diff --git a/web/src/lib/components/shared-components/immich-thumbnail.svelte b/web/src/lib/components/shared-components/immich-thumbnail.svelte
index 937abd58f3..1ab4fa3ba2 100644
--- a/web/src/lib/components/shared-components/immich-thumbnail.svelte
+++ b/web/src/lib/components/shared-components/immich-thumbnail.svelte
@@ -87,6 +87,10 @@
isThumbnailVideoPlaying = false;
videoProgress = '00:00';
+
+ if (videoPlayerNode) {
+ videoPlayerNode.pause();
+ }
};
const handleCanPlay = (ev: Event) => {