Picture with text component
Demo:
basic/200 component schema
This is a simplified schema of a basic/200
component element:
{
"type": "component",
"component": "basic/200",
"settings": {
"headline": {},
"body": {},
"image": {},
"lower-third": {},
"logo": {}
}
}
Check the full specification of the Component schema in the API documentation.
Settings property for basic/200
This component accepts the following object items in the settings
property:
headline object
Check all available object properties here.
Object property
Default value
text
"Lorem ipsum dolor sit amet"
font-size
"3vh"
font-family
"Inter"
font-weight
"400"
body object
Check all available object properties here.
Object property
Default value
text
"Lorem ipsum dolor sit amet, <em>consectetur adipiscing elit</em>, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."
font-size
"2vh"
font-family
"Inter"
font-weight
"400"
image object
Check all available object properties here.
Object property
Default value
src
"https://assets.json2video.com/assets/images/london-01.jpg"
center
Fatal error: Uncaught TypeError: htmlentities(): Argument #1 ($string) must be of type string, array given in /var/www/json2video.com/html/docs/resources/detail.php:138 Stack trace: #0 /var/www/json2video.com/html/docs/resources/detail.php(138): htmlentities() #1 /var/www/json2video.com/html/docs/resources/detail.php(116): show_defaults_table() #2 /var/www/json2video.com/html/docs/resources/detail.php(84): show_settings() #3 /var/www/json2video.com/html/docs/resources/index.php(46): include('...') #4 {main} thrown in /var/www/json2video.com/html/docs/resources/detail.php on line 138