Open xiaoqiang730730 opened 5 years ago
try this https://github.com/airbnb/lottie-web/issues/452#issuecomment-305984743
quote:
try adding the renderer type on the div element.
data-bm-renderer='svg'
it will default to canvas if you don't. I should change that for the light version, though.
This problem also occurs in the lottie_svg flavour. Although, interestingly, it only happens if I use the class .lottie
for my animation container. If I use anything else, it doesn't throw any errors. Setting the data-bm-renderer
fixes this as well.
@Baegus I changed the class name and it solved this problem!
web lottie_light
but there are some issuse online.
Find the problem in the setData function
another one:
Provides methods to remove automatic search capabilities. Not in my scenario.