14 lines
318 B
JavaScript
14 lines
318 B
JavaScript
import React from 'react';
|
|
|
|
export default class ScreenshareComponent extends React.Component {
|
|
componentDidMount() {
|
|
this.props.presenterScreenshareHasStarted();
|
|
}
|
|
|
|
render() {
|
|
return (
|
|
<video id="screenshareVideo" style={{ max-height: '100%', width: '100%' }} autoPlay playsInline />
|
|
);
|
|
}
|
|
}
|