Skip to content

🎥 Make videos programmatically with React

Docs: Separate SRT parameter paragraphs

Jonny Burgerb42e2127a317
diff --git a/packages/docs/docs/captions/serialize-srt.mdx b/packages/docs/docs/captions/serialize-srt.mdx
index 80f1cb64c8..408b109db6 100644
--- a/packages/docs/docs/captions/serialize-srt.mdx
+++ b/packages/docs/docs/captions/serialize-srt.mdx
@@ -63,9 +63,13 @@ A two-dimensional array of [`Caption`](/docs/captions/caption) items.
Each top-level item represents a subtitle cue in the SubRip file.
The second-level items represent the words in that cue.
+
Words get concatenated together during serialization. No spaces are added between the words.
+
If a word has `pageBreakAfter: true`, the current cue ends after it and the next word starts a new cue. Use a newline in `text` to create multiple visual lines within one cue.
+
The start timestamp is determined from the `startMs` value of the first word in the cue.
+
The end timestamp is determined from the `endMs` value of the last word in the cue.
Arrays with no items will be ignored.