mirror of
https://github.com/R0m1k3/xtremflow.git
synced 2026-10-11 17:30:00 +02:00
fix(player): restore missing stream variables in player_mobile.html to fix infinite loading
This commit is contained in:
1 parent
3ef4884336
commit
dbb6559640
1 file changed
+6
@@ -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();
|
||||
|
||||
Reference in new issue
Block a user