{
"timeline": {
"background": "#000000",
"soundtrack": {
"src": "https://shotstack-assets.s3-ap-southeast-2.amazonaws.com/music/unminus/palmtrees.mp3",
"effect": "fadeOut"
},
"fonts": [
{
"src": "https://shotstack-assets.s3-ap-southeast-2.amazonaws.com/fonts/OpenSans-Regular.ttf"
}
],
"tracks": [
{
"clips": [
{
"asset": {
"type": "html",
"html": "<table border='0'><tr><td><p>BOX SHADOW</p></td></tr></table>",
"css": "table { background-color: #000000; } td { padding-top: 16px; padding-bottom: 16px; } p { color: #FFFFFF; font-size: 34px; font-family: 'Open Sans'; font-weight: bold; margin: 20px; text-align: center; }",
"width": 450,
"height": 200
},
"start": 1,
"length": 6,
"transition": {
"in": "slideUpFast",
"out": "slideDownFast"
}
}
]
},
{
"clips": [
{
"asset": {
"type": "html",
"html": "<table border='0'><tr><td><p>BOX SHADOW</p></td></tr></table>",
"css": "table { background-color: #ffd312; } td { padding-top: 16px; padding-bottom: 16px; } p { color: #ffd312; font-size: 34px; font-family: 'Open Sans'; font-weight: bold; margin: 20px; text-align: center; }",
"width": 450,
"height": 200
},
"start": 1,
"length": 6,
"offset": {
"x": 0.0075,
"y": -0.0065
},
"transition": {
"in": "slideUpFast",
"out": "slideDownFast"
}
}
]
},
{
"clips": [
{
"asset": {
"type": "video",
"src": "https://shotstack-assets.s3-ap-southeast-2.amazonaws.com/footage/table-mountain.mp4"
},
"start": 0,
"length": 8,
"transition": {
"in": "fade",
"out": "fade"
}
}
]
}
]
},
"output": {
"format": "mp4",
"resolution": "hd",
"aspectRatio": "9:16"
}
}
Flat box shadow effect using two HTML layers, one on top of each other.
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.
Customise 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.