Questions tagged [lottie]

Questions regarding Airbnb's Lottie, a library for rendering After Effects animations in real-time. Use this tag for questions regarding implementations using the Android, iOS, or React-based branches of Lottie.

Lottie allows adding animation to any native app.

Lottie is an iOS, Android, and React Native library that renders After Effects animations in real time, allowing apps to use animations as easily as they use static images.

Site: https://airbnb.design/lottie/

836 questions
0
votes
2 answers

Is it possible to add custom drawable to imageView in an Android Home Screen Widget?

I'm doing an home screen widget for android and I want to use a Lottie animation on the widget. I know the LottieAnimationView is not supported as the widget only supports some views. But can I use this custom drawable LottieDrawable to use in an…
0
votes
1 answer

Why can't I use Lottie in an Ionic 4 app?

I'm trying to get Lottie/Bodymovin' integrated into an Ionic 4 app and I'm having no luck. Currently I'm running: "@ionic/angular": "4.1.0" "@angular/core": "~7.1.4" "ng-lottie": "0.3.1" The error I'm getting is: ERROR DOMException: Failed to…
0
votes
0 answers

Javascript Files Not Linking Correctly?

So, I've got what looks to me like a pretty simple setup. My end goal is to embed a lottie animation into my website (webflow). In Atom everything works fine. HTML:
Matt
  • 11
  • 1
0
votes
1 answer

Are there Tags that could solve this?

New to coding, trying to see what/if Tags would make this code work So I'm a beginner with basic understanding and more of a Graphics/ Designer than code based. I found a codepen by WEDOO that has exactly what I need and want to try to just swap my…
0
votes
0 answers

Lottie file deformation

Some of lottie file animation get deform when use them on android. Is there problem in there usage or that animation is bad. The animations looks good on lottiefile website. https://lottiefiles.com/1844-timer here is my xml that I use other…
mahdi shahbazi
  • 1,882
  • 10
  • 19
0
votes
1 answer

UIView inside of bar button item in UIToolbar won't call action

I'm currently trying to add a Lottie Animation to an UIView, which is located inside of an UIToolbar. It works fine when the animation is being called in viewDidLoad(). But calling animationView.play() inside of the view's bar button item action,…
Tom
  • 3,672
  • 6
  • 20
  • 52
0
votes
1 answer

Lottie animation in Ionic v1 project

I am updating an existing project made with Ionic v1 in which I have to add a Lottie animation. I found a similar thread on Github - https://github.com/yannbf/ionic-lottie/issues/1 I tried to add bodymovin script in my index.html, and calling the…
Marija
  • 31
  • 1
  • 7
0
votes
2 answers

Can't run animation with assets in iOS Swift

I have animation Lottie and i can't run animation with assets. Animation playing but without assets. I put my assets in this path. Web player nice playing. But in iOS in console print: -[LOTLayerContainer _setImageForAsset:]: Warn: image not found:…
John John
  • 33
  • 7
0
votes
2 answers

Lottie anim does not play to the end. How to fix?

I have such lottie anim https://dropmefiles.com/uweF8 You can check it on Lottie preview web site https://lottiefiles.com/preview In preview this file is working well But if you will try to add this anim to the project like this
Sirop4ik
  • 4,543
  • 2
  • 54
  • 121
0
votes
0 answers

Lottie Animation canceling automatically in Android

I'm using lottie animation inside my recyclerView.Here is a my source if (story.isRead) lottieAnimationView.setAnimation("story_archive_gray.json"); else …
BekaKK
  • 2,173
  • 6
  • 42
  • 80
0
votes
1 answer

Loading a Lottie animation with images in React

I'm trying to include a Lottie animation in my React project. It successfully loads the Lottie component, but without images. It can't resolve the assets. However, it is delivered to me as a json (animation data) and an image directory containing…
0
votes
0 answers

How do I screed-record a specific view into a video?

I am using Lottie Animation Library and I want to record that animation view as video but this library does not have any video exporting support so I am trying to find my own solution and, This is what I have tried so far. …
Kartik Garasia
  • 1,324
  • 1
  • 18
  • 27
0
votes
1 answer

Centre Lottie SVG to a Header element

I have an animation from Lottiefiles (in JSON format), which is then converted into an animated SVG document by the Lottie framwork. However, I can't seem to position the SVG document with the header tag. I'd like it to be beside the text. I tried…
ItsMike
  • 11
  • 8
0
votes
2 answers

Lottie Animation Not Appearing iOS

I updated to the latest version (3.0) of Lottie and noticed various changes that forced me to alter my code. Previously, I wanted to be able position animations via storyboard, and to do so, I used a LOTAnimatedControl and then in code accessed the…
Chris
  • 431
  • 8
  • 33
0
votes
0 answers

SVG Animation resize to stay within the viewport & stuck to the fold

I have an SVG which I'm trying to get to scale down with the window viewport. While also being stuck to the bottom folder of the window. Currently, if you scale down the width of the window the SVG will re-size too but as it maintains its aspect…
archvist
  • 712
  • 2
  • 18
  • 41