scriptVersion | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | no | The format’s number. Demoman sets it; leave it out |
name | string | yes | The video’s name |
target | string | yes | The page the run opens first, http or https |
viewport | object | no | The window size in CSS px, { width, height }. Absent: Demoman’s own window |
device | "phone" | "tablet" | no | A phone or tablet to record as, instead of a viewport. See Phone and tablet |
account | string | no | A demo account from .demoman/accounts.json to sign in as. Absent: the site’s default, else your own saved sign-in |
steps | step list | yes | What the run does, in order. At least one step acts on the page |
trim | object | no | Cut the video’s start and end: { start: { ms, step? }, end: { ms, step?, after? } }. Absent: the whole video |
recordedFrom | string | no | The video a derived script came from. Demoman writes it |
look | object | no | The frame’s look: kit (a brand kit by name) or branding, plus cursor, canvas and motion. Absent: your default brand kit |