0

название видео в заголовке и над плеером

This commit is contained in:
2016-03-30 13:00:52 +03:00
parent ea05db0532
commit f7ab3476c6
2 changed files with 22 additions and 2 deletions

View File

@@ -89,7 +89,8 @@ public class Onlinelife implements KinoWarez {
if (jsonObj.has("file")) {
String fileMp4 = jsonObj.get("file").getAsString().substring("http://".length());
return "{\"file\":\"/proxy/onlinelife/" + fileMp4 + "\"}";
String title = jsonObj.get("comment").getAsString();
return "{\"file\":\"/proxy/onlinelife/" + fileMp4 + "\",\"title\":\"" + title + "\"}";
} else if (jsonObj.has("pl")) {
browser.setEncoding("utf-8");
return replaceToProxy(browser.get(jsonObj.get("pl").getAsString()));