Merge pull request #11931 from ramonlsouza/issue-11708-2
Stop viewer play/stop actions on external videos
This commit is contained in:
commit
1416a0d255
@ -396,6 +396,10 @@ class VideoPlayer extends Component {
|
||||
this.setState({ playing: true });
|
||||
|
||||
this.handleFirstPlay();
|
||||
|
||||
if (!isPresenter && !playing) {
|
||||
this.setState({ playing: false });
|
||||
}
|
||||
}
|
||||
|
||||
handleOnPause() {
|
||||
@ -410,6 +414,10 @@ class VideoPlayer extends Component {
|
||||
this.setState({ playing: false });
|
||||
|
||||
this.handleFirstPlay();
|
||||
|
||||
if (!isPresenter && playing) {
|
||||
this.setState({ playing: true });
|
||||
}
|
||||
}
|
||||
|
||||
render() {
|
||||
|
Loading…
Reference in New Issue
Block a user