Add WebVTT chapters to HTML video
Updated: November 25, 2026
Split an HTML video into chapters with a WebVTT file that names each section and gives its time range. Attach that file as a chapters track. If the player does not display a menu, offer links or buttons on the page so viewers can still navigate.
Mark starts in the final export
For a 90-second demonstration, use 0:00 for laying out the materials, 0:25 for attaching the part, and 1:05 for the final check. Use the edit you will actually publish. If you remove a five-second introduction later, the remaining marks will no longer match the action.
Save titles and intervals
Create chapters.vtt as UTF-8 text with WEBVTT at the start and a blank line before the first cue. Give each chapter a time range. For a simple index, end each chapter at the next chapter’s start and finish the last at the end of the video. Add a track element with kind set to chapters inside the video element. Give the chapters short, distinct labels.
Serve chapters.vtt from the same site as the page for your first test. In the network panel, check that the request returns WebVTT text and that the filename matches the case in your link. If loading fails, fix the path before you change the chapter times.
WEBVTT
00:00:00.000 --> 00:00:25.000
Lay out the materials
00:00:25.000 --> 00:01:05.000
Attach the part
00:01:05.000 --> 00:01:30.000
Check the resultTest the jumps with a keyboard
Open the published layout and select the assembly chapter. The video should seek to 0:25 at the start of the action. If your player does not build a chapter menu, provide accessible buttons that set currentTime to the chosen number of seconds. Recheck each button whenever you replace the file or change the edit.
<video controls src="demo.mp4">
<track kind="chapters" src="chapters.vtt" srclang="en" default>
</video>Frequently asked questions
The chapters track provides navigation. Use a separate captions track for dialogue and relevant sounds.