Explorar o código

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

Alex %!s(int64=2) %!d(string=hai) anos
pai
achega
137b2ffdd0

+ 4 - 0
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) => {