Skip to content

Commit

Permalink
feat: changes mls to sec for transcript clips
Browse files Browse the repository at this point in the history
  • Loading branch information
Rassl committed Dec 23, 2024
1 parent 4877ba1 commit 231bd2d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ export const Transcript = ({ name }: Props) => {
? (timestamp as string).split('-').map(Number) // Directly convert to numbers
: [0, 0]

if (start <= currentTime * 1000 && currentTime * 1000 < end) {
if (start <= currentTime && currentTime < end) {
// Multiply playingTime by 1000 to match millisecond format
return (
<TranscriptWrapper key={clip.ref_id} direction="row">
Expand Down

0 comments on commit 231bd2d

Please sign in to comment.