xvrh / lottie-flutter

Render After Effects animations natively on Flutter. This package is a pure Dart implementation of a Lottie player.
https://pub.dev/packages/lottie
MIT License
1.15k stars 197 forks source link

On web only Lottie.asset work, not Lottie.network #298

Closed Bolling88 closed 11 months ago

Bolling88 commented 11 months ago

On the web only Lottie.asset work, not Lottie.network. It works fine on Android and iOS. The only error I get is: [object ProgressEvent]. I have tried several different animations with the same problem. I use canvaskit.

xvrh commented 11 months ago

Do you see something in the Chrome Devtools > Network tab? Could it a be CORS issue?

Bolling88 commented 11 months ago

Yeah was the CORS issue! Sorry, no issue with the lib. If others get stuck here as well, see: https://firebase.google.com/docs/storage/web/download-files#cors_configuration