Skip to content

🎥 Make videos programmatically with React

fix speed -> playbackRate

Jonny Burger3360da5d76a6
diff --git a/packages/example/src/Lottie/Cybertruck/index.tsx b/packages/example/src/Lottie/Cybertruck/index.tsx
index 4e831e6ca0..92c24a7226 100644
--- a/packages/example/src/Lottie/Cybertruck/index.tsx
+++ b/packages/example/src/Lottie/Cybertruck/index.tsx
@@ -34,7 +34,7 @@ const LottieCybertruck = () => {
<Lottie
loop
animationData={animationData}
- speed={10}
+ playbackRate={10}
style={{height, width}}
/>
</AbsoluteFill>
diff --git a/packages/example/src/Lottie/ExplodingBird/index.tsx b/packages/example/src/Lottie/ExplodingBird/index.tsx
index 2521cbca91..5984b0e09b 100644
--- a/packages/example/src/Lottie/ExplodingBird/index.tsx
+++ b/packages/example/src/Lottie/ExplodingBird/index.tsx
@@ -77,7 +77,7 @@ const LottieExplodingBird = () => {
<Loop durationInFrames={birdDuration} times={birdLoops}>
<Lottie
animationData={animationData.bird}
- speed={birdSpeed}
+ playbackRate={birdSpeed}
style={{height, width}}
/>
</Loop>
@@ -85,7 +85,7 @@ const LottieExplodingBird = () => {
<Sequence from={-explosionStart}>
<Lottie
animationData={animationData.bird}
- speed={explosionSpeed}
+ playbackRate={explosionSpeed}
style={{height, width}}
/>
</Sequence>
@@ -94,7 +94,7 @@ const LottieExplodingBird = () => {
<Sequence from={-feathersStart}>
<Lottie
animationData={animationData.bird}
- speed={feathersSpeed}
+ playbackRate={feathersSpeed}
style={{height, width}}
/>
</Sequence>
diff --git a/packages/example/src/Lottie/Halloween/Balloons.tsx b/packages/example/src/Lottie/Halloween/Balloons.tsx
index f12c5863b4..4880cdaec1 100644
--- a/packages/example/src/Lottie/Halloween/Balloons.tsx
+++ b/packages/example/src/Lottie/Halloween/Balloons.tsx
@@ -19,7 +19,7 @@ const Balloons = () => {
<Lottie
// https://lottiefiles.com/81293-horror-ballons
animationData={balloonsAnimation}
- speed={2}
+ playbackRate={2}
style={{height: 700}}
/>
</div>