0
Fork 0
mirror of https://github.com/immich-app/immich.git synced 2025-03-11 02:23:09 -05:00

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

This commit is contained in:
Alex 2022-10-28 20:52:14 -05:00 committed by GitHub
parent 05e69da5d8
commit 137b2ffdd0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -87,6 +87,10 @@
isThumbnailVideoPlaying = false; isThumbnailVideoPlaying = false;
videoProgress = '00:00'; videoProgress = '00:00';
if (videoPlayerNode) {
videoPlayerNode.pause();
}
}; };
const handleCanPlay = (ev: Event) => { const handleCanPlay = (ev: Event) => {