Media Viewer: Fix click-to-pause in fullscreen (#212)
This commit is contained in:
parent
37006eb437
commit
e15d569d7f
@ -254,7 +254,7 @@ const VideoPlayer: FC<OwnProps> = ({
|
||||
style={videoStyle}
|
||||
onPlay={() => setIsPlaying(true)}
|
||||
onEnded={handleEnded}
|
||||
onClick={!IS_SINGLE_COLUMN_LAYOUT ? handleClick : undefined}
|
||||
onClick={!IS_SINGLE_COLUMN_LAYOUT && !isFullscreen ? handleClick : undefined}
|
||||
onDoubleClick={!IS_TOUCH_ENV ? handleFullscreenChange : undefined}
|
||||
// eslint-disable-next-line react/jsx-props-no-spreading
|
||||
{...bufferingHandlers}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user