diff --git a/frontend/app/frontend.py b/frontend/app/frontend.py
index 00c52a3..4fb57ff 100644
--- a/frontend/app/frontend.py
+++ b/frontend/app/frontend.py
@@ -26,8 +26,8 @@ def show_player(appname, hlsindex):
playerTemplate = '%s/player.html.j2' % zomstream.configuration['template_folder']
page = flask.render_template(
playerTemplate,
- hlsindex=hlsindex,
appname=appname,
+ hlsindex=hlsindex,
configuration=zomstream.configuration
)
return page
diff --git a/frontend/app/templates/default/main.html.j2 b/frontend/app/templates/default/main.html.j2
index 7f723a7..7144f75 100644
--- a/frontend/app/templates/default/main.html.j2
+++ b/frontend/app/templates/default/main.html.j2
@@ -27,26 +27,19 @@
|
- RTMP substream {{ item[2] }} |
+ RTMP substream }} |
rtmp://{{ configuration["rtmp_base"] }}/{{ item[0] }}/{{ item[2] }} |
▶ RTMP |
HLS m3u8 |
{{ configuration['web_proto'] }}://{{ configuration['base_url'] }}/hls/{{ item[1] }}/index.m3u8 |
-
▶ HLS.js |
{% endfor %}
-
-
- ▷ Web Player
-
-