実践サンプル(修正パターン)
Lottieアニメーションの読み込みが完了したら、再生フレーム範囲を指定する
const animation = lottie.loadAnimation({ // 省略 }); // 追加ここから animation.addEventListener("data_ready", ()=> { animation.playSegments([15, 56], true); animation.stop(); }); // 追加ここまで