Skip to content

First VTT Cue Timestamp Doesn't Render Correctly in Transcript #500

Description

@joncameron

Description

VTT rendering for files was updated in #440, which works great except for one small rendering issue: the first timestamp is showing as a 0 character with no space around it. It's still navigable but it doesn't render like the other cues in the VTT.

Example

https://avalon-dev.dlib.indiana.edu/media_objects/fj236208t
Screenshot 2024-05-16 at 3 53 28 PM

Done Looks Like

  • First cue timestamp renders in the standard style [00:00:00] for the WebVTT below

WebVTT Example

WEBVTT

REGION
id:fred
width:40%
lines:3
regionanchor:0%,100%
viewportanchor:10%,90%
scroll:up

REGION
id:bill
width:40%
lines:3
regionanchor:100%,100%
viewportanchor:90%,90%
scroll:up

00:00:00.000 --> 00:00:20.000 region:fred align:left
<v Fred>Hi, my name is Fred

00:00:02.500 --> 00:00:22.500 region:bill align:right
<v Bill>Hi, I’m Bill

00:00:05.000 --> 00:00:25.000 region:fred align:left
<v Fred>Would you like to get a coffee?

Metadata

Metadata

Labels

bug 🐛Something isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions