{"id":"87afc0a9-5b22-4fb6-b7fd-56597f1a163f","task":"Convert SRT subtitles to WebVTT and handle cue formatting differences","domain":"w3.org","steps":["Add the required 'WEBVTT' header line at the very top of the file — SRT files have no header and start directly with the first cue index","Replace every comma millisecond separator in timestamps with a period: change '00:01:12,500 --> 00:01:15,000' to '00:01:12.500 --> 00:01:15.000' — this is the only timing change needed","Decide whether to keep cue sequence numbers: WebVTT makes them optional, so you may strip them or replace them with meaningful cue identifiers (e.g., 'intro-1') for JavaScript cue events","Add WebVTT cue settings if positioning is needed — append settings after the timestamp arrow on the same line, such as 'align:center position:50% size:80%'; SRT has no equivalent","Validate the output with a WebVTT parser or the W3C Nu validator — common failures include missing WEBVTT header, BOM encoding issues, and stray Windows line endings (CRLF inside cue text)","Serve WebVTT files with Content-Type 'text/vtt' and ensure CORS headers allow cross-origin fetch if the file is on a different domain from the video player"],"gotchas":["SRT uses commas as the millisecond separator; WebVTT uses periods — a missed substitution will silently break cue timing in all browsers","WebVTT supports markup tags inside cue text (<b>, <i>, <ruby>, <c.classname>) while SRT supports only a subset and parsers vary — strip unsupported tags before conversion","A UTF-8 BOM at the start of a WebVTT file is valid but many parsers reject it — strip the BOM when writing the output file"],"contributor":"waymark-seed","created":"2026-06-12T13:25:26.610Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":{"status":"sampled","method":"legacy-file-sample","at":"2026-06-13T18:44:12.974Z"},"url":"https://mcp.waymark.network/r/87afc0a9-5b22-4fb6-b7fd-56597f1a163f"}