You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
to create animated .lottie files with scrolling reactivity and while using the latest dotlottie-web library, as the .lottie files seem to be much more performant than the older .json/lottie-web or player-component integrations.
The text was updated successfully, but these errors were encountered:
@mindshaped The lottie-interactivity library internally relies on the lottie-web renderer APIs, which differ slightly from those of dotlottie-web. It's not a simple drop-and-replace player, as some APIs have changed.
Currently, we are working on cross-platform interactivity support for the new dotlottie players that will replace the lottie-interactivity library, expected to be released soon.
In the meantime, you might consider creating an adapter for dotlottie-web that will make it compatible with lottie-interactivity. I'll try to provide a code example soon to demonstrate how this can be achieved
@mindshaped Unfortunately, I couldn't get the adapter working for all the interactivity examples, specifically the scroll use case. We are currently focusing on building cross-platform interactivity support for the dotLottie players.
This example works with click-based interactivity use cases. I'm not sure why it's not working for the scroll; it requires a deep dive into the Lottie Interactivity library to understand the missing pieces.
Overview
It seems currently not possible to add scroll interactivity to .lottie files integrated with dotlottie-web. In the previous player web-component (that points to dotlottie-web, see https://github.com/dotlottie/player-component/tree/master/packages/player-component) we were able to use the lottie-interactivity library (https://github.com/LottieFiles/lottie-interactivity) to create scroll-interactions.
Motivation
to create animated .lottie files with scrolling reactivity and while using the latest dotlottie-web library, as the .lottie files seem to be much more performant than the older .json/lottie-web or player-component integrations.
The text was updated successfully, but these errors were encountered: