New WebRTC Component Changes
This commit is contained in:
@@ -25,6 +25,7 @@ const id = `${Math.random().toString(36).slice(2)}`;
|
|||||||
.video-wrap {
|
.video-wrap {
|
||||||
position: relative;
|
position: relative;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
aspect-ratio: 16/9;
|
aspect-ratio: 16/9;
|
||||||
background: black;
|
background: black;
|
||||||
display: flex;
|
display: flex;
|
||||||
@@ -96,6 +97,7 @@ const id = `${Math.random().toString(36).slice(2)}`;
|
|||||||
<div class="video-wrap">
|
<div class="video-wrap">
|
||||||
<video
|
<video
|
||||||
id={"live-video-" + id}
|
id={"live-video-" + id}
|
||||||
|
style="width: 100%;height: 100%;"
|
||||||
autoplay
|
autoplay
|
||||||
playsinline
|
playsinline
|
||||||
muted
|
muted
|
||||||
|
|||||||
Reference in New Issue
Block a user