jhudsl / ari

:dancers: The Automated R Instructor
https://jhudatascience.org/ari/
Other
146 stars 37 forks source link

Unable to use animations on xaringan presentations #31

Closed mgkulik closed 3 years ago

mgkulik commented 3 years ago

I was able to use xarigan to generate my videos, but when I add slide transitions or animated gifs to the presentation, they seam to be ignored by ari and are not replicated to the video.

Slide transitions and gifs are working perfectly in the HTML presentation.

To generate animated plots I used gganimate and for slide transitions I followed the steps suggested in this link: https://www.garrickadenbuie.com/blog/animate-xaringan-slide-transitions/

Do I need to set any specific parameter on ari for the animations to work or it doesn't currently support animations?

muschellij2 commented 3 years ago

The xaringan slides are essentially HTML slides that we render to PNGs using webshot::webshot. If you need to do something with animations, that's something you'd need to code up yourself.