diff --git a/web/static/js/stream.js b/web/static/js/stream.js index 7915afc..20711a3 100644 --- a/web/static/js/stream.js +++ b/web/static/js/stream.js @@ -1,5 +1,5 @@ (function(){ - const name = window.__STREAM_NAME__; // oder: document.body.dataset.name + const name = document.documentElement.dataset.stream; const v = document.getElementById('v'); const liveEl = document.getElementById('live'); const viewersEl = document.getElementById('viewers'); diff --git a/web/templates/stream.html b/web/templates/stream.html index f0f7006..be33db2 100644 --- a/web/templates/stream.html +++ b/web/templates/stream.html @@ -1,5 +1,5 @@ - + @@ -24,6 +24,5 @@ -