sigue bcast
This commit is contained in:
@@ -1,8 +1,10 @@
|
||||
<section class="title flex">
|
||||
<article class="title"> <p>Radio</p> </article>
|
||||
<article class="bcast"> <form action="/admin/radio" method="post">
|
||||
<div><label>Contraseña Video Stream</label></div>
|
||||
<div><textarea name="gpass" id="gpass" class="gpass"><%= $gpass %></textarea></div>
|
||||
<div><label>Contraseña Video</label></div>
|
||||
<div>
|
||||
<input type="text" name="gpass" id="gpass" class="gpass" value="<%= $gpass %>"</input>
|
||||
</div>
|
||||
<input type="hidden" name="update" value="gpass">
|
||||
<div><input type="submit" name="pup" value="Cambiar"></div>
|
||||
|
||||
@@ -29,5 +31,4 @@
|
||||
</section>
|
||||
|
||||
<script>
|
||||
const radio_server="<%= $radio_server %>";
|
||||
</script>
|
||||
|
||||
@@ -3,11 +3,11 @@
|
||||
<script src="//releases.flowplayer.org/7.2.1/flowplayer.min.js"></script>
|
||||
|
||||
<section class="vid">
|
||||
<div class="flowplayer fp-outlined" data-rtmp=<%= $rtmp_server %> data-ratio="0.4167">
|
||||
<div class="flowplayer fp-outlined" data-rtmp=<%= $config->{rtmp_server} %> data-ratio="0.4167">
|
||||
|
||||
<video controls="controls" autoplay="autoplay" poster="/home/bcast/noise.jpg" data-title="Transmisión en vivo">
|
||||
<source src=<%= $radio_server %>"/live.ogg" type="video/ogg">
|
||||
<source src=<%= $rtmp_channel %> type="video/flash">
|
||||
<source src=<%= $config->{radio_server} %>"/live.ogg" type="video/ogg">
|
||||
<source src=<%= $config->{rtmp_channel} %> type="video/flash">
|
||||
</video> </div>
|
||||
</section>
|
||||
|
||||
|
||||
@@ -6,8 +6,8 @@
|
||||
|
||||
<script>
|
||||
const nick="<%= $nick %>";
|
||||
const chat_addr="<%= $chat_addr %>";
|
||||
const chat_srv="<%= $chat_srv %>";
|
||||
const chat_channel="<%= $chat_channel %>";
|
||||
const chat_addr="<%= $config->{chat_addr} %>";
|
||||
const chat_srv="<%= $config->{chat_srv} %>";
|
||||
const chat_channel="<%= $config->{chat_channel} %>";
|
||||
</script>
|
||||
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
</section></article> </section>
|
||||
<script>
|
||||
const nick="<%= $nick %>";
|
||||
const radio_server="<%= $radio_server %>";
|
||||
const listen_url="<%= $listen_url %>";
|
||||
const channel="<%= $channel %>";
|
||||
const radio_server="<%= $config->{radio_server} %>";
|
||||
const listen_url="<%= $config->{radio_listen_url} %>";
|
||||
const channel="<%= $config->{radio_channel} %>";
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user