Browse Source

#295

feature/295
みてるぞ 1 week ago
parent
commit
d4754e830c
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      frontend/src/pages/theatres/TheatreDetailPage.tsx

+ 2
- 2
frontend/src/pages/theatres/TheatreDetailPage.tsx View File

@@ -80,11 +80,11 @@ export default (() => {
return

const targetTime =
((new Date).getTime () - (new Date (theatreInfo.postStartedAt)).getTime ()) / 1000
((new Date).getTime () - (new Date (theatreInfo.postStartedAt)).getTime ())

const drift = Math.abs (meta.currentTime - targetTime)

if (drift > 5)
if (drift > 5_000)
embedRef.current?.seek (targetTime)
}



Loading…
Cancel
Save