Fix UI crash in moderation interface when opening the media modal (#24816)
This commit is contained in:
parent
a610a02d4f
commit
5241f7b2fd
10 changed files with 39 additions and 38 deletions
|
@ -469,7 +469,7 @@ class Video extends React.PureComponent {
|
|||
handleOpenVideo = () => {
|
||||
this.video.pause();
|
||||
|
||||
this.props.onOpenVideo({
|
||||
this.props.onOpenVideo(this.props.lang, {
|
||||
startTime: this.video.currentTime,
|
||||
autoPlay: !this.state.paused,
|
||||
defaultVolume: this.state.volume,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue