Plugin Author
Bowo
(@qriouslad)
@inacodeweb Thanks for the suggestion. How are you then using the Lottie JSON file? I’m trying to understand your workflow and why it does not already include a way to upload JSON file.
I’m using spectra builder, which defaults to linking the json (as uploading is a security risk, like svg).
I’ve tried the LottieFiles plugin too, which has the same problem.
Since a MIME type plugin didn’t fix it, by adding “json=application/json” to php settings, i suspect this might be a server setting, maybe .htaccess ?
https://codeastrology.com/how-to-upload-json-file-to-wordpress-2022/
The problem is actually uploading the file to media library, before I get to embed it in the website.
-
This reply was modified 1 year, 7 months ago by
inacodeweb.
Plugin Author
Bowo
(@qriouslad)
I just tried the official LottieFiles plugin and was able to upload and view the lottie animation I downloaded as a JSON file from the LottieFiles website. This means that the LottieFiles plugin solved the JSON upload issue for my test site. It seems that it’s not doing so for your site. Have you tried reporting the issue to the LottiFiles plugin support?
At this point, this does not seem like a problem for ASE to solve, so, I look forward to hear what LottieFiles plugin support has to say about this.
Plugin Author
Bowo
(@qriouslad)
There’s a new Lottie handler plugin released recently: https://humanmade.com/engineering/introducing-lottie-lite-for-wordpress-animations/
You might want to try that. Meanwhile, I’m marking this thread resolved for now.