diff --git a/web/player_mobile.html b/web/player_mobile.html
index e2d51b0..51f7abd 100644
--- a/web/player_mobile.html
+++ b/web/player_mobile.html
@@ -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();