Skip to content
PublishClip
Menu

WebVTT Caption Positioning for Short Web Tutorials

A laptop shows captions above a hand turning the dial on a blue sewing machine.

WebVTT caption positioning lets you move an individual caption when it covers the action a viewer needs to follow. In a 15-second tutorial on checking a sewing machine’s stitch-length dial, the opening shot leaves room at the bottom. At four seconds, a close-up puts the dial in that same space. Move the caption for that close-up toward the top, then return to the usual position when the shot changes.

Find the cue that covers the action

Play the final export with its captions enabled. Note the timestamp, the object that needs to stay visible, and where there’s room for a two-line caption. Check the entire cue. A hand that enters the shot midway through can make a position that looked fine on the opening frame unusable.

If one cue spans two shots with different areas of interest, try placing it where both shots leave room. When that fails, split it at a natural phrase boundary if the audio and reading time allow. Keep the caption in sync with the speech and include meaningful sounds such as a click when it confirms the action. W3C guidance on prerecorded captions

Set WebVTT caption positioning on one cue

Duplicate the caption file so you have an untouched copy. In the working .vtt file, add line:12% to the timing line for the close-up. With horizontal captions and the default line alignment, this places the top of the cue box 12% down from the top of the video viewport. Keep the opening and closing cues in their default positions. W3C WebVTT cue settings

WEBVTT

00:00:00.000 --> 00:00:03.800
Find the stitch-length dial.

00:00:04.000 --> 00:00:07.800 line:12%
Turn the dial to the next mark.

00:00:08.000 --> 00:00:10.000 line:12%
[Dial clicks]

00:00:10.000 --> 00:00:14.000
Check that the pointer lines up.

The two adjacent cues share a position because both appear during the same close-up. If the caption still takes up too much space, try a smaller cue box with size:80% and check whether the extra wrapping makes it taller. Adjust one setting at a time so you can tell which change fixed the overlap.

Preview the caption track on the staging page

If you control the page’s HTML, put the VTT file next to the MP4 and link it with a caption track. On a CMS, use its caption upload if the player supports WebVTT, then check the published preview for the positioning change. WHATWG HTML track element

<video controls playsinline src="stitch-length.mp4">
  <track kind="captions" label="English" srclang="en"
         src="stitch-length.en.vtt">
</video>

Use the staged version of the final video. If an earlier export starts even a second later, the captions can move before the close-up begins.

| Playback check | What to confirm | | --- | --- | | Phone in portrait | Turn captions on, scrub to 0:04, and check that the dial and its pointer stay visible. | | Desktop and fullscreen | Check the same cue for wrapping and test again while the player controls are visible. | | Sound off | Watch through to 0:14 and check that the click cue and final instruction still make sense together. | | Captions off and on again | Confirm the captions toggle and that the close-up still moves only the intended cues. |

If the English track is missing, confirm the staged caption URL resolves to the VTT file, the response uses Content-Type: text/vtt, and the file starts with WEBVTT followed by a blank line. If the captions show but the close-up cue stays at the bottom, inspect the VTT served by the page and check whether the CMS kept line:12%. A social upload needs its own caption preview because its player may handle the track differently. MDN WebVTT format reference

For the companion video export step, see how to prepare a short MP4 for web playback.

Ready to make your next post?

Create a free account, connect your Page, and publish in a few minutes. No card, no trial.