The community members are discussing how to embed Lottie JSON files in Webstudio projects. They suggest self-hosting the JSON files on a platform like LottieFiles, which provides an embed script. However, Webstudio does not support directly uploading custom assets like JSON files. The community members also discuss challenges with resizing Lottie animations and controlling their playback using events and external libraries like GSAP. While Webstudio does not currently have built-in support for Lottie animations, the community members provide workarounds using HTML embeds and custom code.
Hi guys, how can I embed lottie JSON file to my Webstudio projects? As far as I am aware I need to self host the JSON file somewere else? Not possible directly through webstudio? What is th best way to embed something like this: https://iconscout.com/lottie-animation/arrow-up-6899908
plus even if you could, you would need to reference the file url in an html embed and that's not recommended because the file URL isnt made available so it may change in the future
embeding is basic. What about playing it with a button click? Basically adding a way to create motion using click of a button or playing it when we're getting inside the view