This commit is contained in:
Jeff Emmett 2024-10-18 21:30:16 -04:00
parent 2435f3f495
commit b05aa413e3
1 changed files with 13 additions and 13 deletions

View File

@ -130,11 +130,11 @@ export class VideoChatShape extends BaseBoxShapeUtil<IVideoChatShape> {
{isLoading ? (
<p>Joining room...</p>
) : isInRoom && shape.props.roomUrl && typeof window !== 'undefined' ? (
<div className="mb-4">
<button onClick={leaveRoom} className="bg-red-500 text-white px-4 py-2 rounded mb-4">
<div className="mb-4" style={{ width: '100%', height: '100%' }}>
{/* <button onClick={leaveRoom} className="bg-red-500 text-white px-4 py-2 rounded mb-4">
Leave Room
</button>
<div className="aspect-w-16 aspect-h-9">
<div className="aspect-w-16 aspect-h-9"> */}
<whereby-embed
room={shape.props.roomUrl}
background="off"
@ -144,7 +144,7 @@ export class VideoChatShape extends BaseBoxShapeUtil<IVideoChatShape> {
people="on"
style={{ width: '100%', height: '100%', objectFit: 'cover' }}
></whereby-embed>
</div>
{/* </div> */}
</div>
) : (
<div>