BinaryONe
commited on
Commit
·
e23bed8
1
Parent(s):
fdcbabc
Miseleneous Fix - Code Upgrades
Browse files
FileStream/server/template/owner.js
CHANGED
@@ -260,7 +260,7 @@ const streamlink = videolink.replace("/watch/", "/dl/");
|
|
260 |
|
261 |
function vlc_player() {
|
262 |
const openstreamlink = streamlink;
|
263 |
-
const openVlc = `vlc://${openstreamlink}`;
|
264 |
|
265 |
// Check the platform
|
266 |
const userAgent = navigator.userAgent || navigator.vendor || window.opera;
|
|
|
260 |
|
261 |
function vlc_player() {
|
262 |
const openstreamlink = streamlink;
|
263 |
+
const openVlc = `vlc://${openstreamlink.replace(/^https?:\/\//, '')}`;
|
264 |
|
265 |
// Check the platform
|
266 |
const userAgent = navigator.userAgent || navigator.vendor || window.opera;
|