Lottie-web: AE expression not coming accross

Created on 5 Apr 2017  路  13Comments  路  Source: airbnb/lottie-web

Hey, first of all love what you've created here! I have a problem with an expression not coming over though. I wanting a 'ping pong' effect i've created in after effects to come across in browser. Any ideas why it wouldn't be? I have version 4.6.2 installed

Justin

bug enhancement

Most helpful comment

@claide Hi, CC Bend It, Grow Bounds and those types of effects are not supported by the player. Very few raster effects are.
https://github.com/airbnb/lottie-web/wiki/Effects

All 13 comments

can you share the .aep so I can take a look?

Oh that was so quick!!..and yes sure thing :)

backrestMain copy.aep.zip

EXTREMELY boring animation..ha. Just for testing purposes

The expression valueAtTime is still not supported for shapes. I'll try to include it soon.
sorry :/

Oh ok, thanks for looking into that for me, and no need to apologize, you've done an amazing job! :)

Hey do you support the CC Particle systems? or is there a way to??

no, only a few effects are supported. And particle systems are too performance intensive for real time rendering.
But I'll see what I can do in the future.

hey! is "Slider Control" supported?

here's the code:
num = effect("Slider Control")("Slider"); dec = 10; nnn = Math.round(num*dec)/dec;

Thanks!

@jaredstanley yes, it is

  1. +100 for your rapid response time!
  2. Hmm I can't get it to work.

Here's a zip: https://drive.google.com/file/d/1sCVZMzkszj7i7RPOdJ1AaWZ38Q-p2ZLQ/view?usp=sharing

  1. if i add in text manually it works.
  2. if i add in text via an expression (i.e. n=45) it works.
  3. i can't get it to update w the file though (code posted in prev comment).

I assume I'm missing an important step but not sure what it is. LMK if you can help. Thanks!

Edit: exporting for html using the zxp extension.

@jaredstanley If you're attaching expressions to text sources and exporting characters as glyphs, you need to provide all characters that will be used by the expression to the player.
You can create an extra text layer with the same font with numbers from 0 to 9 and a "." so the expression can render those chars.

Another option is to export text as text data (ie not glyphs) and provide the needed font by loading it separately in the browser or indicating the player where to load it from.

no, only a few effects are supported. And particle systems are too performance intensive for real time rendering.
But I'll see what I can do in the future.

Do you have a link for the AE expression which is supported by bodymovin now? Because i'm not sure which expression i used is supported.

Hi, I had the same issue on a simple ping pong effect. Is this solved on the latest release?

sample-project.zip

@claide Hi, CC Bend It, Grow Bounds and those types of effects are not supported by the player. Very few raster effects are.
https://github.com/airbnb/lottie-web/wiki/Effects

Was this page helpful?
0 / 5 - 0 ratings

Related issues

RenanSgorlom picture RenanSgorlom  路  3Comments

samiam2017 picture samiam2017  路  3Comments

phileastv picture phileastv  路  3Comments

jumostudio picture jumostudio  路  3Comments

phantomboogie picture phantomboogie  路  4Comments