Skip to content

🎥 Make videos programmatically with React

Clarify whether files outside the project can be accessed

Jonny Burger8b5bffb59e84
diff --git a/packages/docs/docs/importing-assets.md b/packages/docs/docs/importing-assets.md
index 1a653b4333..f266a1582a 100644
--- a/packages/docs/docs/importing-assets.md
+++ b/packages/docs/docs/importing-assets.md
@@ -184,3 +184,15 @@ Prefer importing using [`staticFile()`](/docs/staticfile) if possible.
## Dynamic duration based on assets
To make your videos duration dependent based on your assets, see: [Dynamic duration, FPS & dimensions](/docs/dynamic-metadata)
+
+## Files outside of the project
+
+Remotion runs in the browser, so it does not have access to arbitrary files on your computer.
+It is also not possible to use the `fs` module from Node.js in the browser.
+Instead, put assets in the `public/` folder and use [`getStaticFiles()`](/docs/getstaticfiles) to enumerate them.
+
+## Adding assets after bundling
+
+Before rendering, the code gets bundled using Webpack, and only bundled assets can be accessed afterwards.
+For this reason, assets that are being added to the public folder after [`bundle()`](/docs/bundle) is called will not be accessible during render.
+However, if you use the [server-side rendering APIs](/docs/ssr-node), you can add assets to the `public` folder that is inside the bundle after the fact.