diff --git a/frontend/lib/watch-session.mjs b/frontend/lib/watch-session.mjs index 404990a..49feac2 100644 --- a/frontend/lib/watch-session.mjs +++ b/frontend/lib/watch-session.mjs @@ -89,6 +89,11 @@ const setupOutgoingEvents = (video, socket) => { return; } + // don't send a pause event for the video ending + if (video.currentTime == video.duration) { + return; + } + socket.send( JSON.stringify({ op: "SetPlaying",