From 6166b8111e54b7548ed2831090b57b2581b86146 Mon Sep 17 00:00:00 2001 From: jbergner Date: Sun, 21 Sep 2025 18:05:21 +0200 Subject: [PATCH] bugfix-2 --- web/static/js/stream.js | 2 +- web/templates/stream.html | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) 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 @@ -