mirror of
https://github.com/MichaByte/OnBoard-Live.git
synced 2025-12-06 08:13:41 -05:00
make one stream work properly
This commit is contained in:
parent
5582a0ffae
commit
2ea863de24
1 changed files with 4 additions and 8 deletions
|
|
@ -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;"
|
||||||
>
|
>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue