chenqingspring/vue-lottie

vue-lottie (seemingly) not currently setup for use with canvas elements.

Jamesbillard12 opened this issue · 2 comments

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

same problem...

so am i, i am finding a way to solve it, bro