Skip to content
Discussion options

You must be logged in to vote

Took me forever to figure this out. Adding the ResourceProvider took care of both embedded images and fonts.
using Animation? lottieAnimation = AnimBuilder.SetResourceProvider(new DataUriResourceProvider()).Build(lottieJson);
Leaving it here for someone who might be struggling with the same issue.
P.S Only got to work with base64 embedded fonts and images
Thanks!

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by ashishpadave
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant