{
"output": {
"format": "mp4",
"resolution": "hd"
},
"timeline": {
"tracks": [
{
"clips": [
{
"start": 0,
"length": 15,
"position": "right",
"asset": {
"width": 660,
"html": "<table cellpadding='16'><tr><td><p>The black-footed ferret is a very interesting animal. Some say it possesses the secret to the location of the Holy Grail.</p></td></tr></table>",
"css": "table { background-color: #33000000; } p { color: #FFFFFF; font-size: 28px; font-family: 'Open Sans' }",
"position": "left",
"type": "html",
"height": 660
},
"offset": {
"x": -0.025,
"y": 0
}
}
]
},
{
"clips": [
{
"start": 0,
"length": 15,
"scale": 0.4,
"position": "left",
"asset": {
"type": "image",
"src": "https://cdm-citadel-core-2.s3.amazonaws.com/51ab442b-13b6-483d-aef3-7d71779bf3c3.png"
},
"offset": {
"x": 0.025,
"y": 0
}
}
]
},
{
"clips": [
{
"start": 0,
"length": 15,
"scale": 1,
"position": "center",
"asset": {
"type": "video",
"src": "https://cdm-citadel-core-2.s3.amazonaws.com/534e4c13-f558-4e42-b95b-f735ef62de29.mp4"
},
"offset": {
"x": 0,
"y": 0
}
}
]
}
],
"background": "#000000",
"fonts": [
{
"src": "https://shotstack-assets.s3-ap-southeast-2.amazonaws.com/fonts/OpenSans-Regular.ttf"
}
]
}
}
Expanding padded text background with semi transparent background. Uses and HTML table with text wrap and expands based on the length of text.
New to Shotstack? Sign up to use this template and start automatically generating videos.
Test and modify this template directly in Postman by forking our public Collection.
Customize the template and integrate it in to your application or workflow using the programming language of your choice.
Use this template as the starting point for integration with our SDKs. Port the JSON to PHP, Node or Ruby and integrate in to your code base.