18. Lay out the content rectangle
Figure 17. The four margins inset the video content. The section is shared with Image controls.
The visible content rectangle is the element’s Width and Height minus its left/right and top/bottom margins. Leave room around it for the frame and the control Buttons.
| Source shape | Example content rectangle |
|---|---|
| 16:9 | 720 by 405, or 640 by 360. |
| 4:3 | 640 by 480. |
| Square | 400 by 400. |
To put a 16:9 clip inside a larger square panel without distortion, use a wide Video element inside that panel and leave the unused area to the surrounding GUI. Do not stretch the element to a square and assume it will always letterbox automatically.
Animation Frame Asset IDs and Image Animation FPS may be visible in the shared layout section. They are Image settings; they do not set the Video element’s decoded frame rate or create a video animation sequence.
