diff options
| author | RblSb <msrblsb@gmail.com> | 2020-05-05 22:41:58 +0300 |
|---|---|---|
| committer | RblSb <msrblsb@gmail.com> | 2020-05-05 22:41:58 +0300 |
| commit | 047400de951a90e51967c0298cf3e8895410a071 (patch) | |
| tree | 8a554c14b37d69b93e607c28b08b616abb00a888 /res | |
| parent | 104d4edeb5c0874412b0e91d0cb3c768995a0ce1 (diff) | |
Fix invisible iframe items
Diffstat (limited to 'res')
| -rw-r--r-- | res/client.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/res/client.js b/res/client.js index a1fc8fb..24ec1c5 100644 --- a/res/client.js +++ b/res/client.js @@ -1159,6 +1159,9 @@ client_Main.prototype = { if(title.length > 0) { data.title = title; } + if(data.title == null) { + data.title = "Custom Media"; + } if(data.url == null) { data.url = iframe; } @@ -1197,7 +1200,7 @@ client_Main.prototype = { var data = JSON.parse(e.data); var t = data.type; var t1 = t.charAt(0).toLowerCase() + HxOverrides.substr(t,1,null); - haxe_Log.trace("Event: " + data.type,{ fileName : "src/client/Main.hx", lineNumber : 325, className : "client.Main", methodName : "onMessage", customParams : [data[t1]]}); + haxe_Log.trace("Event: " + data.type,{ fileName : "src/client/Main.hx", lineNumber : 326, className : "client.Main", methodName : "onMessage", customParams : [data[t1]]}); switch(data.type) { case "AddVideo": this.player.addVideoItem(data.addVideo.item,data.addVideo.atEnd); |
