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
|
@ -46,3 +46,8 @@ export const getHasNextMessage = createSelector(
|
|||
getLightboxState,
|
||||
(state): boolean => state.isShowingLightbox && state.hasNextMessage
|
||||
);
|
||||
|
||||
export const getPlaybackDisabled = createSelector(
|
||||
getLightboxState,
|
||||
(state): boolean => state.isShowingLightbox && state.playbackDisabled
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue