Controls for Lottiefiles

With the older dotlottie web component library, it was possible to add the controls attribute to the <dotlottie-player> tag that would display a simple animation slider to control animation playback.

With the new dotlottie-wc library this feature is no longer supported and it seems like there is no appetite to implement this feature.

If you are designing animations for education where learner control is essential you can use a bit of JavaScript to add controls to your lottie animations.

Enjoy!