Skip to content

🎥 Make videos programmatically with React

Update lottie-comp.mdx

Jonny Burger9d2673f080aa
diff --git a/packages/docs/docs/lottie/lottie-comp.mdx b/packages/docs/docs/lottie/lottie-comp.mdx
index 6d0f8acfdd..7f6755392b 100644
--- a/packages/docs/docs/lottie/lottie-comp.mdx
+++ b/packages/docs/docs/lottie/lottie-comp.mdx
@@ -118,6 +118,8 @@ _optional_
Set the Lottie [`assetsPath`](https://github.com/airbnb/lottie-web/wiki/loadAnimation-options#assetspath) option. Example: `staticFile('lottie')` will take assets from the `public/lottie` folder.
+In a Lottie JSON in the `assets` array, you can reference assets either externally or internally. If `e: 0`, the assets will be prefixed with `assetsPath` (ideal if you put the image into your `public` folder). If `e: 1`, the assets will be loaded from the absolute URL specified in the JSON.
+
## See also
- [`@remotion/rive`](/docs/rive)