We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I passed in a Lottie JSON with encoded images but it was mutated and the data URI for the images in the assets array was replaced with relative URLs.
const dotLottie = new DotLottie(); dotLottie.addAnimation({ id: "default", data: animationData // This gets mutated });
Before:
"assets": [{ "id": "2dd5bfdae9efbf11e27d9d5046c3c14629b81d94", "e": 1, "w": 300, "h": 406, "p": "data:image/png;base64,iVBORw0KGgoAAAA...", "u": "" }]
After:
"assets": [{ "id": "gbpoBJVn-f", "e": 0, "w": 300, "h": 406, "p": "gbpoBJVn-f.png", "u": "/images/" }]
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I passed in a Lottie JSON with encoded images but it was mutated and the data URI for the images in the assets array was replaced with relative URLs.
Before:
After:
The text was updated successfully, but these errors were encountered: