Skip to content
Snippets Groups Projects
Unverified Commit dcebca5e authored by Leon's avatar Leon Committed by GitHub
Browse files

Update README.md

parent a0a8d82a
No related branches found
No related tags found
No related merge requests found
......@@ -116,9 +116,7 @@ class Party extends Component {
ref={(v) => this.remoteVideos[p.id] = v}
/>
</div>
<div>
<p>{p.nick}</p>
</div>
</div>
));
......@@ -136,17 +134,12 @@ class Party extends Component {
return (
<div>
<div>
<div>
<video
className={styles.vid}
// Important: The local video element needs to have both an ID and ref
id="localVideo"
ref={(vid) => { this.localVid = vid; }}
/>
</div>
<div>
<p>{this.state.nick}</p>
</div>
</div>
<div id="remoteVideos">
......
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