aboutsummaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
Diffstat (limited to 'res')
-rw-r--r--res/client.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/res/client.js b/res/client.js
index 75e3448..b0953ae 100644
--- a/res/client.js
+++ b/res/client.js
@@ -2819,7 +2819,10 @@ client_players_RawSubs.loadSubs = function(item,video) {
if(client_JsApi.hasSubtitleSupport(ext)) {
return;
}
- var url = "/proxy?url=" + encodeURI(item.subs);
+ var url = encodeURI(item.subs);
+ if(!StringTools.startsWith(url,"/")) {
+ url = "/proxy?url=" + url;
+ }
switch(ext) {
case "ass":
client_players_RawSubs.parseAss(video,url);
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage