mirror of
https://github.com/immich-app/immich.git
synced 2025-06-20 17:03:14 +02:00
fix(web): fix escape key not closing video player after seeking (#16860)
Co-authored-by: Yaros <thedj.launchpadder.dmx512@gmail.com>
This commit is contained in:
parent
91065db3ff
commit
b8bc11b0d9
1 changed files with 3 additions and 0 deletions
|
@ -124,6 +124,9 @@
|
||||||
}}
|
}}
|
||||||
onseeking={() => (isScrubbing = true)}
|
onseeking={() => (isScrubbing = true)}
|
||||||
onseeked={() => (isScrubbing = false)}
|
onseeked={() => (isScrubbing = false)}
|
||||||
|
onplaying={(e) => {
|
||||||
|
e.currentTarget.focus();
|
||||||
|
}}
|
||||||
onclose={() => onClose()}
|
onclose={() => onClose()}
|
||||||
muted={forceMuted || $videoViewerMuted}
|
muted={forceMuted || $videoViewerMuted}
|
||||||
bind:volume={$videoViewerVolume}
|
bind:volume={$videoViewerVolume}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue