vue-lottie (seemingly) not currently setup for use with canvas elements.
Jamesbillard12 opened this issue · 2 comments
Jamesbillard12 commented
On review of the current source code located at vue-lottie/src/lottie.vue, it seems that 'svg' has been hard coded in as the renderer for the animation instance. When I modified the source to accept user input I am noticing that if I select to use the 'canvas' option, on reload all of my animations disappear in chrome and firefox, but stay when using Edge. The 'svg' option is working in all the browsers I've tested. Is there something extra I need to be doing to keep this from happening with canvas elements?
https://github.com/chenqingspring/vue-lottie/blob/master/src/lottie.vue
xing00 commented
same problem...
Doyouhavefreestyle commented
so am i, i am finding a way to solve it, bro