Skip to content

OverlayTransitionOptions

OverlayTransitionOptions = object

Defined in: overlayUpdates.ts:67

Animation options shared by every mid-video overlay update. Omit duration (or pass 0) for an instant change.

optional delay?: number

Defined in: overlayUpdates.ts:80

Offsets the effect this many milliseconds into the future. The call runs immediately but the change lands delay ms later on the timeline, so a call written before an interaction can take effect during it (a call cannot execute while an interaction is awaited). Same-type events must land in time order; recording fails when a delayed event would land behind one recorded after it. Integer >= 0.


optional duration?: number

Defined in: overlayUpdates.ts:69

Animation length in milliseconds.


optional easing?: Easing

Defined in: overlayUpdates.ts:71

Defaults to 'ease-in-out'.