Video
Type identifier:
videoCategory: Experience Blocks
Description
Media block for rendering video sources, with intrinsic dimensions and optional media control settings.
Properties
Property | Type | Required | Notes |
|---|---|---|---|
|
| Yes | Shared block identifier. |
|
| Yes | Block discriminator. |
| Media source | Yes | URL, datum-based source, or file reference. |
|
| Yes | Intrinsic/render width. |
|
| Yes | Intrinsic/render height. |
| CSS size | | No | CSS width override (also accepts |
| CSS size | | No | CSS height override (also accepts |
|
| No | Replaced element fit behaviour. |
|
| No | Replaced element position. |
|
| No | Media autoplay option. |
|
| No | Media loop option. |
|
| No | Media muted option. |
|
| No | Media controls visibility. |
|
| No | Optional state-specific overrides. |
The shared block style, layout, and data properties also apply to Video blocks.
States
State entries follow the shared state shape and support partial video overrides.
No states are currently available for Video blocks.
Minimal Valid Example
{
"id": "video-1",
"type": "video",
"src": "https://cdn.example.com/video.mp4",
"width": 1280,
"height": 720
}