1
0

Update videoSyncServerScript.js

This commit is contained in:
Darlingnotin
2020-10-18 17:06:29 -04:00
committed by GitHub
parent 5c036e2218
commit 4b427ec4fc

View File

@ -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));