Studio: Allow selecting a caption style
Author: JonnyBurgerCreated Sep 28, 2026Updated Sep 28, 2026
Desired workflow:
Allow captioning a <Video> and let users select a caption style.
Current state:
Idea:
- Add a flag to elements that a certain element is a "caption style" - define guidelines, such as it needing to have support for
captionsprop in the schema - Add a new tab in the modal "Styles"
- By default the style is "Simple captions" - currently hardcoded and that is fine (makes it work offline or remotion.dev is down)
- Open remotion.dev/elements/captions iframe - ideally also allow other libraries by switching using a dropdown
- Short-circuiting should already work here - if an element install is coming in while the transcribe action is happening, select it as the caption style
- Consider if we should show security dialog - are the elements already trusted or not? Maybe it should just add a disclaimer that choosing this style will lead to arbitrary code execution..
- Reject if element does not have the caption style flag
- When we finish transcribing, insert that element
Source: remotion-dev/remotion