LottieFiles / lottie-interactivity

A small javascript library to enable interactivity with Lottie animations
https://lottiefiles.com/interactivity
MIT License
430 stars 55 forks source link

dotlottie support #95

Closed alolalo closed 1 year ago

alolalo commented 1 year ago

Overview

...

Type

Would like to be able to use the lottie-player webcomponent, and the dotlottie-player webcomponent with interactivity.

Motivation

The players have identical naming due to the file-format, and is already incorporated as an export function.

https://github.com/dotlottie/player-component

...

Labels

samuelOsborne commented 1 year ago

Hi @alolalo , dotLottie support JSON and .lottie files, so do you think you still need the lottie-player component?

For interactivity with dotLottie check out this code:

https://codepen.io/Osbro/pen/VwXbwmV

alolalo commented 1 year ago

Fantastic stuff! I'm happy that it's so simple, so others can teach others. Thanks!