Instagram Transcript / Subtitles
When Is WebVTT the Right Format for a Web Player?
WebVTT is the right format when your player is a browser <video> element, or any platform that can fetch a separate text file and paint it over the picture on the media clock. It is the wrong choice when the captions must be baked into the frames, when the host only accepts a file upload, or when you cannot serve the file from the same origin as the page. The decision matters because a VTT that is perfect on disk can fail silently in a real player: in a Chrome 157.0.8103.50 test with one 6-second clip and the same two-cue file, both of the wirings that broke produced zero console messages.
What makes a web player a good fit
A browser player wants three things: a media file it can decode, a caption file it can fetch as a text track, and cue times expressed on the same clock as the media. When all three line up, the player does the rest. There is no render step, no re-encode, and a corrected line goes live as soon as the text file is replaced.
That is also the limit of the format. WebVTT describes timing and text, not appearance, so a player that needs burned-in captions for a platform that strips text tracks will not be served by a .vtt file at all. Export a video with the captions rendered into the frames instead, and keep the VTT only as the editable master.
Where the wiring actually breaks
I wired the same two-cue VTT into one HTML page three ways and recorded the console, the track state, and a screenshot at a fixed second each time.
| Wiring | What the viewer sees | Console output | Track state |
|---|---|---|---|
Correct text/vtt, same origin | Both cues appear on time | none | readyState 2, 2 cues |
| Cue times shifted +2.0 s | First cue arrives 2.0 s late | none | readyState 2, 2 cues, 0 active at 1.08 s |
| UTF-16LE without a BOM | No captions at all | none | readyState 3, 0 cues |
The quiet rows are the ones that cost support time. A shifted cue still parses, still counts as two cues, and still reports a healthy track, so nothing in the console points at the timing. A UTF-16 file without a BOM fails harder but just as quietly: the track errors at readyState 3, track.error stays null, and only the cue count tells you the file never parsed.
Two failures do speak up. Loading the same file from a second origin logs Unsafe attempt to load URL http://127.0.0.1:8792/assets/saved-video-example.en.vtt from frame with URL http://127.0.0.1:8791/extras.html. Domains, protocols and ports must match. A missing file logs Failed to load resource: the server responded with a status of 404 (Not Found). Both leave the track at readyState 3.
Two common beliefs did not survive the test. Chrome 157 loaded the file correctly when the server sent Content-Type: text/plain, so a wrong MIME type alone is not a reliable explanation for missing captions in Chrome. And a file that answered with an HTML fallback page at HTTP 200 failed at readyState 3 with no message, so a 200 response is not evidence that the track loaded.
Check your own player in a minute
Open the page, wait for the video to load, and read three values from the track element: track.readyState (2 means loaded, 3 means error), track.track.cues.length, and track.track.activeCues.length at a second where a cue should be on screen. If readyState is 2 and the cue count matches the file but activeCues is empty at that second, the file is fine and the timing is wrong. If the cue count is 0, the file never parsed: re-save it as UTF-8 without a BOM and serve it as text/vtt from the same origin.
When to pick something else
Choose SRT when the next stop is a video editor or a caption upload box that asks for SubRip; the worked SRT example covers that path. Choose burned-in captions when the destination strips text tracks, such as a social upload that re-encodes the file. Keep WebVTT when the destination is a web page you control, because it is the only one of the three that a browser will paint without extra tooling. If you need to know which cue a viewer actually saw, log activeCues on a timer; the console will not tell you.
If the source is a public TikTok video, the TikTok transcript generator exports WebVTT, SRT, and plain text from the same result, without an account.