VTT File Creation

Learn how to create a .vtt file to add chapters and captions in a video.


A WebVTT (Web Video Text Tracks or .vtt) file contains a series of text cues with start and end times in the video. The text in these cues appears only when the video reaches the specified times.

JWP's players use .vtt files to associate side-loaded captions and add chapters with videos.



Create a .VTT file

🚧

  • A .vtt file should always be saved in UTF8 encoding to prevent character issues.
  • The body of the WebVTT file must contain the string WEBVTT in the header in order to be parsed correctly. Learn more about formatting a .vtt file.

Use the following recipes to create a .vtt file chapter markers or captions.




What’s Next

You can now use one of the following articles to associate your .vtt file with a video: