Spaces:
Running
Running
BinaryONe
commited on
Commit
·
85693e9
1
Parent(s):
588e561
Miseleneous Fixes - Update on HTMLs
Browse files
FileStream/server/template/owner.js
CHANGED
@@ -265,7 +265,7 @@ function vlc_player() {
|
|
265 |
}
|
266 |
|
267 |
function mx_player() {
|
268 |
-
const openstreamlink = streamlink;
|
269 |
const openMx = `intent:${openstreamlink}#Intent;package=com.mxtech.videoplayer.ad;end`;
|
270 |
window.location.href = openMx;
|
271 |
}
|
|
|
265 |
}
|
266 |
|
267 |
function mx_player() {
|
268 |
+
const openstreamlink = streamlink.replace(/^https?:\/\//, '');
|
269 |
const openMx = `intent:${openstreamlink}#Intent;package=com.mxtech.videoplayer.ad;end`;
|
270 |
window.location.href = openMx;
|
271 |
}
|