view.video
Player for video playback.
The player is a rectangular block with a frame and buttons to control the video. You can set the block size using the ratio
, fullHeight
, minWidth
, and maxWidth
properties.
The video resolution does not affect the size of the block — the video will fit into the block and will not be cropped.
Component properties
Name |
Type |
Description |
|
"view.video" |
Set component type |
|
string |
Label above the component. |
|
boolean |
If |
|
string |
Hint text. |
|
number |
Maximum width of the element in pixels, must be greater than |
|
number |
Minimum width of the element in pixels. Takes priority over |
|
array |
The aspect ratio of the video block. An array of two numbers: the first sets the width of the block and the second sets the height. |
|
number |
Relative size of one side. |
|
string |
Link to the video file. |
|
condition |
Validation based on condition. |