Skip to content

Align timestamp at top of cue in Transcripts component #846

@elynema

Description

@elynema

Description

Currently, the timestamp part of the cue (provided by .vtt or .srt files in the Transcript component) seems to be center-aligned vertically. The EVIADA materials we are ingesting have extremely long .vtt cues that include long descriptions, so sometimes you have to scroll a bit to get to the timestamp.

Would it make sense to top align the timestamp, as opposed to center-aligning the timestamp vertically?

Currently, for an EVIADA example item, it looks like this:

image.png

Could the linked timecode be vertically aligned with the first line of text in the cue that starts with "Batá drums and singer"?

image.png

Done Looks Like

  • The hyperlinked timestamp from the .vtt / .srt cue that displays in the Transcript component should be vertically aligned at the top of the cue text, rather there center-aligned to display in the middle of the cue text.
  • Test how this change looks on more standard types of transcripts, for example for this lunchroom manners record: https://avalon-dev.dlib.indiana.edu/media_objects/rb68xb881

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions