From 5604e51a0923857e752e4f6ee717fe2b2e2f154b Mon Sep 17 00:00:00 2001 From: Marcin Kulik Date: Fri, 5 Apr 2024 20:51:18 +0200 Subject: [PATCH] Move producer endpoint info to the bottom of the stream page --- .../controllers/live_stream/show.html.heex | 22 +++++++++---------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/lib/asciinema_web/controllers/live_stream/show.html.heex b/lib/asciinema_web/controllers/live_stream/show.html.heex index 92f39af23..05fc71e38 100644 --- a/lib/asciinema_web/controllers/live_stream/show.html.heex +++ b/lib/asciinema_web/controllers/live_stream/show.html.heex @@ -100,17 +100,6 @@

How to stream

-

Producer endpoint:

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

Do not share this with anyone. Use it only with - the commands below to go live.

-

Stream with asciinema CLI (3.0+):

<.input name="rec-cmd-asciinema-streamer" @@ -140,6 +129,17 @@ websocat --binary <%= ws_producer_url(@stream) %> <live.pipe # in shell 2 script -f -O live.pipe + +

Producer endpoint:

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

Do not share this with anyone. Use it only with + the commands above to go live.