From 5ad8a69c4c3880043a5835448b6d29131f53682a Mon Sep 17 00:00:00 2001 From: Yohann D'ANELLO Date: Mon, 9 Nov 2020 16:40:43 +0100 Subject: [PATCH] A static file is not a template --- web/static/js/ovenplayer.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/static/js/ovenplayer.js b/web/static/js/ovenplayer.js index ec7cdb7..6b12cc9 100644 --- a/web/static/js/ovenplayer.js +++ b/web/static/js/ovenplayer.js @@ -41,13 +41,13 @@ export function initViewerPage(stream, viewersCounterRefreshPeriod, posterUrl) { expandFullScreenUI: true, sources: [ { - "file": "wss://" + window.location.host + "/app/{{.Path}}", + "file": "wss://" + window.location.host + "/app/" + stream, "type": "webrtc", "label": " WebRTC - Source" }, { "type": "hls", - "file": "https://" + window.location.host + "/app/{{.Path}}_bypass/playlist.m3u8", + "file": "https://" + window.location.host + "/app/" + stream + "_bypass/playlist.m3u8", "label": " HLS" } ]