Orshot Logo
OrshotDocs
Orshot Studio

Setting Parameters

Learn how to make your templates dynamic by parameterizing different elements in Orshot Studio

Video Tutorial

Video Element Parameters

When you add a video element to your template and set a parameter ID, you can dynamically control:

  • Video URL - Pass a custom video URL using the parameter ID
  • Trim Start - Set the start time using {parameterId}.trimStart
  • Trim End - Set the end time using {parameterId}.trimEnd
  • Muted - Control audio with {parameterId}.muted
  • Loop - Enable looping with {parameterId}.loop

Example

If your video element has parameter ID bgVideo, you can pass:

{
  "bgVideo": "https://example.com/video.mp4",
  "bgVideo.trimStart": 5,
  "bgVideo.trimEnd": 15,
  "bgVideo.muted": false,
  "bgVideo.loop": true
}

On this page