Options for block.addVideo.
Extends#
Properties#
| Property | Type | Description | Inherited from |
|---|---|---|---|
sizeMode? |
SizeMode |
How the image should be sized and positioned | AddImageOptions.sizeMode |
positionMode? |
PositionMode |
How the position should be interpreted | AddImageOptions.positionMode |
x? |
number |
X position in scene design units | AddImageOptions.x |
y? |
number |
Y position in scene design units | AddImageOptions.y |
cornerRadius? |
number |
Corner radius for rounded corners in scene design units | AddImageOptions.cornerRadius |
size? |
number |
{ width: number; height: number; } |
|
timeline? |
object |
Timeline configuration for video scenes | AddImageOptions.timeline |
timeline.timeOffset? |
number |
Start time offset in seconds | - |
timeline.duration? |
number |
Duration in seconds | - |
shadow? |
DropShadowOptions |
Drop shadow configuration | AddImageOptions.shadow |
animation? |
AnimationOptions |
Animation configuration | AddImageOptions.animation |
trimOffset? |
number |
- | - |
loop? |
boolean |
- | - |
muted? |
boolean |
- | - |