Skip to content
Snippets Groups Projects
Commit aab9945b authored by Ramon Souza's avatar Ramon Souza
Browse files

stop viewer play/stop actions on external videos

parent 964eb933
No related branches found
No related tags found
No related merge requests found
......@@ -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() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment