Chapters can also be set in the video description.
Check the format in the PeerTube documentation
@for (chapterControl of getChaptersFormArray().controls; track chapterControl; let i = $index) {
{{ i + 1 }}
@if (!isLastChapterControl(i)) {
}
}
@if (getChapterArrayErrors()) {
{{ getChapterArrayErrors() }}
}