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:
parent
05e69da5d8
commit
137b2ffdd0
1 changed files with 4 additions and 0 deletions
|
@ -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) => {
|
||||||
|
|
Loading…
Add table
Reference in a new issue