Skip to content
Snippets Groups Projects
Unverified Commit b055ab0c authored by Anton Georgiev's avatar Anton Georgiev Committed by GitHub
Browse files

Merge pull request #5435 from Tainan404/issue-5414

Add spinning arrows while load the screenshare.
parents 8a6ee9bc 1e378044
No related branches found
No related tags found
No related merge requests found
import React from 'react';
import { styles } from './styles';
export default class ScreenshareComponent extends React.Component {
componentDidMount() {
this.props.presenterScreenshareHasStarted();
......@@ -16,7 +18,8 @@ export default class ScreenshareComponent extends React.Component {
render() {
return (
<video id="screenshareVideo" style={{ maxHeight: '100%', width: '100%' }} autoPlay playsInline />
[(<div className={styles.connecting} />),
(<video id="screenshareVideo" style={{ maxHeight: '100%', width: '100%' }} autoPlay playsInline />)]
);
}
}
@import "/imports/ui/stylesheets/variables/_all";
@import "/imports/ui/components/video-provider/video-list/styles";
.connecting {
@extend .connecting;
z-index: -1;
background-color: transparent;
color: $color-white;
font-size: 2.5rem * 5;
}
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