Fix expand video on public page (#15469)

This commit is contained in:
Takeshi Umeda
2020-12-31 07:18:11 +09:00
committed by GitHub
parent b5bd67a477
commit cb5bb2313b
7 changed files with 26 additions and 11 deletions

View File

@ -121,6 +121,7 @@ class Video extends React.PureComponent {
autoPlay: PropTypes.bool,
volume: PropTypes.number,
muted: PropTypes.bool,
componetIndex: PropTypes.number,
};
static defaultProps = {
@ -501,6 +502,7 @@ class Video extends React.PureComponent {
startTime: this.video.currentTime,
autoPlay: !this.state.paused,
defaultVolume: this.state.volume,
componetIndex: this.props.componetIndex,
});
}