You can organize the video into chapters that will make the user experience better while watching the video.
How to break videos into chapters
The video chapters use the same concept as the captions and the supported format is VTT. The chapters are listed with the timeframe in the VTT file. For example:
WEBVTT
01
00:01.000 --> 00:04.000
02
00:05.000 --> 00:09.000
Supported caption file formats
Currently, we support only VTT file format.
WebVTT file formatting
For more information on VTT formatting: https://developer.mozilla.org/en-US/docs/Web/API/WebVTT_API
You can check the formatting of the VTT with a free online tool here: https://w3c.github.io/webvtt.js/parser.html
Incorrect WebVTT formatting
We will not throw an error when the VTT file is incorrectly formatted. The response from the API will be
200, however, the captions will not be displayed.