Support for Lottie

Lottie is a great way of integrating animated icons on sites. Providers such as Flaticon now also offer JSON animation files, and I think it would be great to be able to use these as part of GenerateBlocks.

I know it’s not very hard to add the script to the header and inserting the JSON manually, but it would be much cleaner if this were possible using a plugin. The reason I’m adding this here is that I think it would be a perfect expansion of the image block (or possibly a new block). It would also be great if the player script (or perhapt even jLottie) were hosted locally. From my limited understanding, this wouldn’t be a very complicated a task, but then again I am very inexperienced in development.

Thanks for making such a great product! With or without Lottie, I love it. Keep up the good work.