Skip to content

Commit

Permalink
Move producer endpoint info to the bottom of the stream page
Browse files Browse the repository at this point in the history
  • Loading branch information
ku1ik committed Apr 6, 2024
1 parent d73c83c commit 5604e51
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions lib/asciinema_web/controllers/live_stream/show.html.heex
Original file line number Diff line number Diff line change
Expand Up @@ -100,17 +100,6 @@

<h2>How to stream</h2>

<h3>Producer endpoint:</h3>
<.input
name="producer-url"
data-behavior="auto-select"
readonly
value={ws_producer_url(@stream)}
/>

<p class="text-danger">Do not share this with anyone. Use it only with
the commands below to go live.</p>

<h3>Stream with asciinema CLI (3.0+):</h3>
<.input
name="rec-cmd-asciinema-streamer"
Expand Down Expand Up @@ -140,6 +129,17 @@ websocat --binary <%= ws_producer_url(@stream) %> &lt;live.pipe

# in shell 2
script -f -O live.pipe</code></pre>

<h3>Producer endpoint:</h3>
<.input
name="producer-url"
data-behavior="auto-select"
readonly
value={ws_producer_url(@stream)}
/>

<p class="text-danger">Do not share this with anyone. Use it only with
the commands above to go live.</p>
</div>
</div>
</div>
Expand Down

0 comments on commit 5604e51

Please sign in to comment.