Fix video and audio playback to pause on window close
This commit is contained in:
parent
d215e1b9be
commit
96131112da
9 changed files with 98 additions and 1 deletions
|
@ -66,6 +66,7 @@ const createProps = (overrideProps: Partial<PropsType> = {}): PropsType => {
|
|||
media,
|
||||
saveAttachment: action('saveAttachment'),
|
||||
selectedIndex,
|
||||
playbackDisabled: false,
|
||||
toggleForwardMessagesModal: action('toggleForwardMessagesModal'),
|
||||
onMediaPlaybackStart: noop,
|
||||
onPrevAttachment: () => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue