Skip to content
Permalink
Browse files

Added debugging variable

  • Loading branch information...
makitsune committed May 1, 2019
1 parent b73eec8 commit 8e1f6ac108e140e0f9286a25fad91acd38a6d2f4
Showing with 2 additions and 0 deletions.
  1. +2 −0 express-routes/video-sync/admin.html
@@ -368,8 +368,10 @@ <h1><b>[room_name]</b> password</h1>
document.getElementById("range-value").textContent = secondsToTime(video.currentTime);
}, 1000);
let lastInfo = {}; // never used (for debugging)
socket.on("getInfo", info=>{
console.log(info);
lastInfo = info;
if (info.src!=undefined) {
if (video.src!=info.src) video.src = info.src;

0 comments on commit 8e1f6ac

Please sign in to comment.
You can’t perform that action at this time.