friday / lottie-node

Export lottie animations in Node.js
MIT License
56 stars 11 forks source link

Fix image loading issue in v5 of lottie-web #14

Closed razvanmitre closed 3 years ago

razvanmitre commented 3 years ago

Fixes issue #8

friday commented 3 years ago

Rather than accepting this PR which comes with too many changes I don't want I cherry-picked the new image loading method in 6cb9be73e1d12218c845490799188292e9fe8237 Thanks for the fix!

This PR and that commit doesn't actually fix #8. This fixes Lottie breaking compatibility with our image loading code injection, which is more serious I guess.

I didn't need resources: "usable", so I left it out.