Fix video and audio playback to pause on window close

This commit is contained in:
ayumi-signal 2024-02-02 15:39:32 -08:00 committed by GitHub
parent d215e1b9be
commit 96131112da
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 98 additions and 1 deletions

View file

@ -32,6 +32,7 @@ export function AvatarLightbox({
i18n={i18n}
isViewOnce
media={[]}
playbackDisabled={false}
saveAttachment={noop}
toggleForwardMessagesModal={noop}
onMediaPlaybackStart={noop}