make one stream work properly

This commit is contained in:
Micha Albert 2024-07-28 23:55:47 +00:00
parent 5582a0ffae
commit 2ea863de24

View file

@ -100,14 +100,12 @@
<video <video
controls controls
autoplay autoplay
id={pathData[0].name} id={activeStream}
bind:this={videos[pathData[0].name]} bind:this={videos[activeStream]}
class="h-full w-auto" class="h-full w-auto"
></video> ></video>
</div> </div>
{/if} {:else}
{#if activePaths.length > 1}
<div <div
class="flex justify-center items-center w-screen h-1/2 absolute top-20" class="flex justify-center items-center w-screen h-1/2 absolute top-20"
> >
@ -145,9 +143,7 @@
</p> </p>
</div> </div>
{/if} {/if}
<h2 <h2 class="absolute bottom-0 text-center w-screen text-xl">
class="absolute bottom-0 text-center w-screen text-xl"
>
Join at <div Join at <div
style="display: inline-block; color: #338eda; text-decoration-line: underline;" style="display: inline-block; color: #338eda; text-decoration-line: underline;"
> >