Skip to content

Commit 9eb1b21

Browse files
authored
[Broadcaster] Make player grow as much as possible. Hide server token. (#17)
1 parent fad5d37 commit 9eb1b21

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

broadcaster/lib/broadcaster_web/controllers/page_html/home.html.heex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
<div id="home" phx-hook="Home" class="h-full flex flex-row justify-center lg:justify-end">
1+
<div id="home" phx-hook="Home" class="h-full flex flex-row justify-center gap-6 lg:justify-end">
22
<div id="videoplayer-wrapper" class="grow">
33
<video
44
id="videoplayer"
5-
class="m-auto rounded-xl max-h-[65%] max-w-[80%]"
5+
class="m-auto rounded-xl max-h-full max-w-full"
66
autoplay
77
controls
88
muted

broadcaster/lib/broadcaster_web/controllers/page_html/player.html.heex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
</div>
1616
<div class="p-2">
1717
<label for="serverToken"> Server Token </label>
18-
<input type="text" id="serverToken" />
18+
<input type="password" id="serverToken" />
1919
</div>
2020
<div class="p-2">
2121
<button id="button">Start streaming</button>

0 commit comments

Comments
 (0)