VIDEOLIST
One or more silent, looping, auto-playing videos fetched by id via
WidgetCallbacks.fetchVideos, which returns a list of VideoItem
(video URL, action, optional title/subtitle).
{
"type": "VIDEOLIST",
"params": {
"id": 1,
"width_percent": 1.0,
"height_percent": 0.3,
"scroll_direction": "vertical",
"textparams": {
"horizontal": "left",
"vertical": "bottom",
"fontcolor_title": "FFFFFF",
"fontsize_title": 16,
"fontweight_title": "bold",
"fontcolor_subtitle": "FFFFFF",
"fontsize_subtitle": 13,
"fontweight_subtitle": "regular"
}
}
}
- A single fetched video renders full-width/height (
width_percent/height_percent), tappable, with an optionaltextparamstitle/subtitle overlay —horizontal/verticalcontrol the overlay's alignment,fontcolor_*/fontsize_*/fontweight_*(regular/normal/bold) style it. - More than one video scrolls in a row/column per
scroll_direction("horizontal"or"vertical", default"vertical"), each sized bywidth_percent/height_percentand separated byhorizontal_padding(default3)/vertical_padding(default4). The outer scrolling container itself is sized bycontainer_height— a fraction of screen height, default0.3(ignored for a single video).textparamsonly applies to the single-video layout. - Tapping a video resolves its
actionthrough the action/tap contract.