Added styling

co-authored-by: nthouliss <nthouliss@gmail.com>
This commit is contained in:
Mitchell McCaffrey
2020-03-19 17:33:57 +11:00
parent 62f08c7630
commit 05cf20fe8b
8 changed files with 124 additions and 38 deletions

View File

@@ -9,7 +9,14 @@ function PartyVideo({ stream, muted }) {
}
}, [stream]);
return <video ref={videoRef} autoPlay muted={muted} />;
return (
<video
ref={videoRef}
autoPlay
muted={muted}
style={{ width: "100%", borderRadius: "4px" }}
/>
);
}
export default PartyVideo;