mifi / editly

Slick, declarative command line video editing & API
MIT License
4.79k stars 312 forks source link

Text background #169

Open aisoftllctesting opened 2 years ago

aisoftllctesting commented 2 years ago
mifi commented 2 years ago

try to use the fabric.js layer

aisoftllctesting commented 2 years ago

yes i have added in front-end but i want to add in backend using editly json5. i want just attribute for text bg like text color using color attribute

mifi commented 2 years ago

I think that's not supported yet, but you can easily implement it using custom fabric, like this: https://github.com/mifi/editly/blob/master/examples/customFabric.js

yogesh030 commented 2 years ago

After implementing how to animate it? Like slide-in-text?

mifi commented 2 years ago

look at the source code, e.g. slide-in-text. the fabric will be provided with time which can be used to animate

aisoftllctesting commented 2 years ago

can you tell how to animate custome fabric text using editly json5