Some minor frontend improvements #5

Merged
nyancrimew merged 4 commits from nyancrimew/watch-party:minor-improvements into main 2021-11-23 02:00:30 +00:00
Showing only changes of commit 2e64148912 - Show all commits

View file

@ -89,6 +89,11 @@ const setupOutgoingEvents = (video, socket) => {
return; return;
} }
// don't send a pause event for the video ending
if (video.currentTime == video.duration) {
return;
}
socket.send( socket.send(
JSON.stringify({ JSON.stringify({
op: "SetPlaying", op: "SetPlaying",