fix(player): restore missing stream variables in player_mobile.html to fix infinite loading

This commit is contained in:
Michael committed 2026-03-09 22:56:27 +01:00
1 parent 3ef4884336
commit dbb6559640
1 file changed
+6
+6
View File
@@ -159,6 +159,12 @@
const playOverlay = document.getElementById('play-overlay');
const error = document.getElementById('error');
const params = new URLSearchParams(window.location.search);
const streamUrl = params.get('url');
const streamType = params.get('type') || 'live';
function log(m) { console.log('[MobilePlayer] ' + m); }
playOverlay.addEventListener('click', (e) => {
e.preventDefault();
e.stopPropagation();