Hi huuson9x,
Lottie is currently not supported, but I’ve added it to our feature requests.
We do support transparent animations built in After Effects, but you’d need to export the motion graphic with alpha transparency and include it straight into the JSON as a video asset.
{
"timeline": {
"background": "#FFFFFF",
"tracks": [
{
"clips": [
{
"asset": {
"type": "video",
"src": "https://shotstack-assets.s3.amazonaws.com/motion-graphics/stock-market.mov"
},
"start": 0,
"length": 3,
"fit": "none",
"scale": 0.5
}
]
}
]
},
"output": {
"format": "mp4",
"size": {
"width": 1900,
"height": 1280
}
}
}