From 4b427ec4fc017351a9f98c080910d3bff2f92e3a Mon Sep 17 00:00:00 2001 From: Darlingnotin Date: Sun, 18 Oct 2020 17:06:29 -0400 Subject: [PATCH] Update videoSyncServerScript.js --- videoSyncServerScript.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/videoSyncServerScript.js b/videoSyncServerScript.js index de24e97..e5893ba 100644 --- a/videoSyncServerScript.js +++ b/videoSyncServerScript.js @@ -122,7 +122,8 @@ videoPlaying = true; ping(); var wsPlay = { - "action": "play" + "action": "play", + "timeStamp": messageData.timeStamp }; if (useGatewayServer && gatewayServerConnected) { ws.send(JSON.stringify(wsPlay)); @@ -131,7 +132,8 @@ Script.clearInterval(timeStampInterval); intervalIsRunning = false; var wsPause = { - "action": "pause" + "action": "pause", + "timeStamp": messageData.timeStamp }; if (useGatewayServer && gatewayServerConnected) { ws.send(JSON.stringify(wsPause));