[UWP] IsPlaying=true does not play the animation
See original GitHub issue🐛 Bug Report
The following AnimationView does not play in the sample app.
<forms:AnimationView x:Name="animationView"
Grid.Row="1"
Animation="LottieLogo1.json"
HorizontalOptions="FillAndExpand"
IsPlaying="True"
Loop="True"
VerticalOptions="FillAndExpand" />
Expected behavior
I would expect the animation to play if IsPlaying is set to true. This is the behavior on Android and iOS.
Reproduction steps
Replace the animation view in the sample app with the xaml above.
Configuration
Version: 3.1.2
Platform:
- 📱 iOS
- 🤖 Android
- 🏁 WPF
- 🌎 UWP
- 🍎 MacOS
- 📺 tvOS
- 🐒 Xamarin.Forms
Issue Analytics
- State:
- Created 3 years ago
- Comments:11 (1 by maintainers)
Top Results From Across the Web
UWP animations not playing simultaneously anymore
My problem is that the 3 color animations are not played sync and I can't figure out why. I can't see any problems...
Read more >Optimize animations, media, and images - UWP applications
Animating a MediaPlayerElement is a similarly bad idea. Beyond the performance detriment, it can cause tearing or other artifacts in the video ...
Read more >Animations in XAML - Windows apps
Use the animations from the Windows Runtime animation library to integrate the Windows look and feel into your app.
Read more >Animations with the Visual Layer - Windows Developer Blog
Layout animations aren't completely new, of course. UWP has always allowed you to hook up XAML transitions. These animations have tended to be, ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
No just this line here: https://github.com/Baseflow/LottieXamarin/blob/f0ef94dc90223b6cb3a8770b4d8f42aad3962442/Lottie.Forms/Platforms/Uap/AnimationViewRenderer.cs#L248
Try 4.0, there it works