Fix: Seek funktioniert jetzt für alle User — report_time überschreibt Seek nicht mehr

- Server: report_time ignoriert Host-Updates für 2s nach einem Seek
- Frontend: seekingRef Guard auf 3s erhöht um Sync-Pulse-Rücksetzung zu verhindern

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Daniel 2026-03-07 23:55:57 +01:00
parent 463b92dc38
commit dec6be5476
2 changed files with 6 additions and 1 deletions

View file

@ -690,7 +690,7 @@ export default function WatchTogetherTab({ data }: { data: any }) {
dmPlayerRef.current.contentWindow.postMessage(`seek?to=${time}`, 'https://www.dailymotion.com');
}
setCurrentTime(time);
setTimeout(() => { seekingRef.current = false; }, 1000);
setTimeout(() => { seekingRef.current = false; }, 3000);
}, [wsSend]);
// ── Host time reporting ──