mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-06 03:50:04 +02:00
Socket new version
This commit is contained in:
parent
4aeb911dac
commit
9ec9f3bd5a
8 changed files with 307 additions and 337 deletions
|
@ -23,6 +23,7 @@ function socketConnect() {
|
|||
};
|
||||
conn.onmessage = function (e) {
|
||||
var json = JSON.parse(e.data);
|
||||
//console.log("Socket onmessage conn.onmessage", json);
|
||||
socketResourceId = json.resourceId;
|
||||
yptSocketResponse = json;
|
||||
parseSocketResponse();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue