Media Viewer: Play/pause by clicking on video (#1162)
This commit is contained in:
parent
e0017543c1
commit
acbde43d31
@ -164,6 +164,7 @@ const VideoPlayer: FC<OwnProps> = ({
|
||||
// @ts-ignore
|
||||
style={videoStyle}
|
||||
onEnded={handleEnded}
|
||||
onClick={togglePlayState}
|
||||
// eslint-disable-next-line react/jsx-props-no-spreading
|
||||
{...bufferingHandlers}
|
||||
onTimeUpdate={handleTimeUpdate}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user