samvera-labs / ramp

Interactive, IIIF powered audio/video media player React components library. Styleguidist Docs: https://samvera-labs.github.io/ramp/
https://ramp.avalonmediasystem.org/
26 stars 3 forks source link

Update vtt / srt validation for hours #537

Open elynema opened 6 days ago

elynema commented 6 days ago

Description

Technically, vtt and srt file formats are required to either have no digits for the hour in the timestamp, or 2 digits. Currently the validation in the Ramp transcript component allows 1 digit in the hour in the timestamp.

Done Looks Like

masaball commented 6 days ago

amp-demo-amia-transcript (2).txt

Example file