Skip to content

Commit

Permalink
Standardising and making it nicer
Browse files Browse the repository at this point in the history
  • Loading branch information
COMTOP1 committed Mar 2, 2024
1 parent 81609ce commit ba82528
Showing 1 changed file with 29 additions and 18 deletions.
47 changes: 29 additions & 18 deletions server/templates/main.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,9 @@
</div>
</div>

<div class="card">
<div class="card-content">
<form id="stream_outs">
<form id="stream_outs">
<div class="card">
<div class="card-content">

<p>After refreshing what streams are active, you can select the endpoint with the dropdown box
below</p>
Expand All @@ -67,11 +67,14 @@
</select>
</div>
<br><br>
</div>
</div>

<div id="stream_further_1" hidden>

<div id="stream_further_1" hidden>
<div class="card">
<div class="card-content">
<p class="title">Stream outputs</p>

<p class="subtitle">Recording</p>
<p>This is the file output of the stream, it will be saved as a .mkv file, and you can specify a
path<br>
It will be saved in the pending edits folder on the network drive (not to be confused with
Expand All @@ -87,29 +90,37 @@
<label for="record_checkbox">Record stream </label>
<input name="record_checkbox" id="record_checkbox" type="checkbox" checked><br>
<label for="save_path">MKV save location </label><br>
<input type="text" name="save_path" id="save_path" placeholder="ERN/ERN.mkv" class="input"
required/><br><br>


<p>If this is selected, then it will default to <code>stream1?pwd=gamer</code><br>
<input type="text" name="save_path" id="save_path" placeholder="ERN/ERN.mkv"
class="input"><br><br>
</div>
</div>
<div class="card">
<div class="card-content">
<p class="subtitle">Website forwarding</p>
<p>If this is selected then it will default to stream1?pwd=gamer<br>
By default, the website works with streaming to the live endpoint so that is done by default<br>
Use the live endpoint followed by one of the keys in <a
href="https://cobra.dev.ystv.co.uk/streamkeys">cobra</a>
[stream key and password]<br>
This is especially important for events like Roses</p><br>
<label for="website_stream">Stream to website </label>
<input name="website_stream" id="website_stream" type="checkbox" checked><br>
<label for="website_stream_endpoint"></label><br>
<label for="website_stream_endpoint">Website stream endpoint</label><br>
<input name="website_stream_endpoint"
id="website_stream_endpoint"
placeholder="stream1?pwd=gamer"
class="input" required><br><br>


</div>
</div>
<div class="card">
<div class="card-content">
<p class="subtitle">Additional forwarding</p>
<p>This section is for adding all the stream servers and keys<br>
All stream servers should start with "rtmp://" or "rtmps://"<br>
If you are unsure how to get the stream servers and keys from YouTube and Facebook, then
click on the links below<br>
If you are unsure how to get the stream servers and keys from YouTube and Facebook then
click on
the
links below<br>
<a target="_blank" href="/youtubehelp">YouTube</a><br>
<a target="_blank" href="/facebookhelp">Facebook</a></p><br>
<label for="input"></label><input type="text" id="input" hidden disabled/>
Expand All @@ -133,9 +144,9 @@
<p id="start_error" style="color: red"></p><br>
<input id="start_button" type="button" class="button" value="Start"/>
</div>
</form>
</div>
</div>
</div>
</form>
</div>
{{block "statusWindowHTML" .}}{{end}}
{{block "stopWindowHTML" .}}{{end}}
Expand Down

0 comments on commit ba82528

Please sign in to comment.