Media Viewer: Video fullscreen on double click (restore lost change)

This commit is contained in:
Alexander Zinchuk 2021-06-21 04:02:08 +03:00
parent c38159eee1
commit f940f45907

View File

@ -165,6 +165,7 @@ const VideoPlayer: FC<OwnProps> = ({
style={videoStyle}
onEnded={handleEnded}
onClick={togglePlayState}
onDoubleClick={handleFullscreenChange}
// eslint-disable-next-line react/jsx-props-no-spreading
{...bufferingHandlers}
onTimeUpdate={handleTimeUpdate}