aarsteinmedia / dotlottie-player-light

Light Web Component for playing SVG Lottie animations in your web app. Previously @johanaarstein/dotlottie-player-light
GNU General Public License v2.0
4 stars 1 forks source link

Shadows not working #5

Open alihs opened 1 month ago

alihs commented 1 month ago

optimized_m2acyje2 (1).lottie.zip

The full version does support shadows, while the light version doesn't render any shadow

johanaarstein commented 1 month ago

Have you by any chance added the shadows with After Effects expressions? If so, it won't work with the light version.

alihs commented 1 month ago

We did, it didn't work. Is there a way we could create a 'medium' version like pick and choose from what we'd like. Its that the lite version is ~500kb while the full version is ~1.9mb (thats tooo much for a javascript)

johanaarstein commented 1 month ago

The full bundled version is ~360 KiB, while the lite bundled version is ~210 KiB. To allow for compiler optimization and backwards compatibility both includes esmodule and cjs versions, as well as element schema and typings. These should however not affect the front end. How are you consuming the library?