-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
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
Json file not working #659
Comments
Hi, I've tried it and it seems to be working fine. |
Thanks for your reply, I created a CodePen https://codepen.io/jvelezr/pen/OxQOoB you can see there that when I enter my file in "path" it doesn´t work, but when I use other .json as example (https://labs.nearpod.com/bodymovin/demo/2016/data.json) it does. What am I doing wrong? |
you're getting a browser security error: |
But the same thing happens when I load everything in localhost. I checked the console and get this: bodymovin.js:5 Error: attribute width: Expected length, "undefined". |
Can you try reproducing that error on codepen so I can check it? |
Hi I get a different error when changed the url to https "No 'Access-Control-Allow-Origin' header is present on the requested resource." I updated the codepen. I can share the folder with the index file, maybe is easier? https://www.dropbox.com/sh/albcxty6ku21jad/AACdVxuutSoowxWL9Omggymga?dl=0 |
Hi! I'm so sorry, I had a stupid mistake :) a couple letters misspeled. Thanks for your help and support 🥇 |
Glad it worked :) |
@jvelezr Hey, I got the same error like you. |
Sorry for bothering. I have found the reason. I replaced |
Should be |
This should be marked as the solution. |
Hi, I exported from AE the json file and its not working, I tried with other json files uploaded as example and they work perfectly in my web.
You can see the file here: http://viim.co/js/hero.json
My AE file: https://www.dropbox.com/s/uxulyyf2acxhemc/hero%20image.aep?dl=0
Thank you for your help!
The text was updated successfully, but these errors were encountered: