A pottery lesson offers English and Malay captions. Both labels can appear in the player even if they load the same English file. Check what the viewer reads at two moments in the lesson.
Connect each label to its own track
<video controls src="/lesson.webm">
<track kind="captions" srclang="en" label="English" src="/en.vtt">
<track kind="captions" srclang="ms" label="Bahasa Melayu" src="/ms.vtt">
</video>
Use a language tag for each track and a label viewers can recognize. Captions can include meaningful sounds as well as speech. Serve each WebVTT file with the text/vtt media type.
Compare the text at the same two moments
We used a short, locally generated silent video to provide a playback clock in Chrome. On two separate runs, we selected the English and Malay tracks and recorded the active cues and their start and end times. The sentences were written for this exercise. Testing an actual lesson also requires listening to its audio.
| Playback interval | English track | Malay track |
|---|---|---|
| 0.0–1.0 s | Centre the clay. | Pusatkan tanah liat. |
| 1.0–2.5 s | Raise the wall. | Naikkan dinding. |
Locate a language or timing error
If choosing Bahasa Melayu still shows “Centre the clay”, open the selected track’s src and check its first cue. Fix the source mapping if it points at the English file. If the right words appear a second too early, compare the cue’s time range with the moment the instruction is spoken in the released edit. Change the timing in that language’s file and replay both tracks.
Retest after replacing a video edit or caption file. A chapter link jumps the player to a section; timed text follows playback. See video timestamp links for that separate task. For videos published on YouTube, see spoken language and caption tracks in Studio.
Frequently asked questions
What is WebVTT?
It is a timed-text format. A file starts with WEBVTT and uses cues with start and end timestamps and the text to present.
How do I check whether subtitles drift?
Compare an early cue and another near the end with the actual speech in the released edit. Correcting one cue cannot establish that later cues are aligned.
Why can the label be correct but the language wrong?
The label identifies the choice in the player. The cue text comes from the file at its source URL. Inspect both.

