Pls help! How to play from frame to frame?

Have HTML element with:
Скриншот 27-09-2021 160136

what have to add to play from 1 frame to 50? When i add frame:[22, 50] - its doest work(

You need to use the interactivity script and add additional script like:

<script>
LottieInteractivity.create({
  mode:"scroll",
  player: "#fifthLottie",
  actions: [
    {
      visibility: [0, 1],
      type: "loop",
      frames: [70, 500]
    }
  ]
});
</script>

See details: Lottie Player - Interactivity Guide

1 Like