Closed TheCatLady closed 1 year ago
hmm, it seems to be a global method, so it seems a bit wrong to be able to allow setting it on a react element
Hm, that is very true...
Can you provide any guidance on the recommended way to configure this setting when using this component? 🤔
I think just call this function on lottie-web directly, something like
import lottie from 'lottie-web'
lottie.setQuality(123)
@mifi Thanks! That's consistent with what I implemented on our site. Appreciate your reply, closing this now. 😄
Would be great to support configuration of the lottie player quality for improved performance. 😺
https://github.com/airbnb/lottie-web/wiki/Usage#global-methods