2017-07-25 03:29:34 +08:00
|
|
|
import React from 'react';
|
|
|
|
|
|
|
|
export default class ScreenshareComponent extends React.Component {
|
|
|
|
componentDidMount() {
|
|
|
|
this.props.presenterScreenshareHasStarted();
|
|
|
|
}
|
|
|
|
|
|
|
|
render() {
|
|
|
|
return (
|
2018-02-09 00:49:02 +08:00
|
|
|
<video id="screenshareVideo" style={{ maxHeight: '100%', width: '100%' }} autoPlay playsInline />
|
2017-07-25 03:29:34 +08:00
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|