Skip to content

πŸŽ₯ Make videos programmatically with React

condense

Jonny Burgercf4b7f9b7b38
diff --git a/packages/skills/skills/remotion/rules/assets.md b/packages/skills/skills/remotion/rules/assets.md
index 3827e8207c..04c8ad590d 100644
--- a/packages/skills/skills/remotion/rules/assets.md
+++ b/packages/skills/skills/remotion/rules/assets.md
@@ -9,18 +9,7 @@ metadata:
## The public folder
-Place assets in the `public/` folder at your project root:
-
-```
-my-video/
-β”œβ”€ public/
-β”‚ β”œβ”€ logo.png
-β”‚ β”œβ”€ background.mp4
-β”‚ β”œβ”€ music.mp3
-β”‚ β”œβ”€ font.woff2
-β”œβ”€ src/
-β”œβ”€ package.json
-```
+Place assets in the `public/` folder at your project root.
## Using staticFile()
@@ -36,13 +25,6 @@ export const MyComposition = () => {
The function returns an encoded URL that works correctly when deploying to subdirectories.
-## Supported formats
-
-**Images:** PNG, SVG, JPG, JPEG, WEBP, GIF, BMP
-**Videos:** WEBM, MOV, MP4
-**Audio:** MP3, WAV, AAC, M4A
-**Fonts:** WOFF, WOFF2, OTF, TTF, EOT
-
## Using with components
**Images:**
@@ -92,6 +74,5 @@ Remote URLs can be used directly without `staticFile()`:
## Important notes
-- Assets must exist in `public/` before bundling - files added after bundling are not accessible
- Remotion components (`<Img>`, `<Video>`, `<Audio>`) ensure assets are fully loaded before rendering
- Special characters in filenames (`#`, `?`, `&`) are automatically encoded