Skip to content

🎥 Make videos programmatically with React

update

Jonny Burger9117426ee400
diff --git a/bun.lock b/bun.lock
index 958dc44474..cbe97914e4 100644
--- a/bun.lock
+++ b/bun.lock
@@ -1265,7 +1265,7 @@
},
},
"packages/skills": {
- "name": "skills",
+ "name": "@remotion/skills",
"version": "4.0.407",
"devDependencies": {
"@remotion/bundler": "workspace:*",
@@ -3564,6 +3564,8 @@
"@remotion/skia": ["@remotion/skia@workspace:packages/skia"],
+ "@remotion/skills": ["@remotion/skills@workspace:packages/skills"],
+
"@remotion/streaming": ["@remotion/streaming@workspace:packages/streaming"],
"@remotion/studio": ["@remotion/studio@workspace:packages/studio"],
@@ -6660,8 +6662,6 @@
"sitemap": ["[email protected]", "", { "dependencies": { "@types/node": "17.0.17", "@types/sax": "1.2.3", "arg": "5.0.2", "sax": "1.2.4" }, "bin": { "sitemap": "dist/cli.js" } }, "sha512-mK3aFtjz4VdJN0igpIJrinf3EO8U8mxOPsTBzSsy06UtjZQJ3YY3o3Xa7zSc5nMqcMrRwlChHZ18Kxg0caiPBg=="],
- "skills": ["skills@workspace:packages/skills"],
-
"skin-tone": ["[email protected]", "", { "dependencies": { "unicode-emoji-modifier-base": "1.0.0" } }, "sha512-kUMbT1oBJCpgrnKoSr0o6wPtvRWT9W9UKvGLwfJYO2WuahZRHOpEyL1ckyMGgMWh0UdpmaoFqKKD29WTomNEGA=="],
"slash": ["[email protected]", "", {}, "sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q=="],
diff --git a/packages/skills/skills/remotion/rules/fonts.md b/packages/skills/skills/remotion/rules/fonts.md
index c5470a109a..c10cd83e62 100644
--- a/packages/skills/skills/remotion/rules/fonts.md
+++ b/packages/skills/skills/remotion/rules/fonts.md
@@ -11,6 +11,18 @@ metadata:
The recommended way to use Google Fonts. It's type-safe and automatically blocks rendering until the font is ready.
+### Prerequisites
+
+First, the @remotion/google-fonts package needs to be installed.
+If it is not installed, use the following command:
+
+```bash
+npx remotion add @remotion/google-fonts # If project uses npm
+bunx remotion add @remotion/google-fonts # If project uses bun
+yarn remotion add @remotion/google-fonts # If project uses yarn
+pnpm exec remotion add @remotion/google-fonts # If project uses pnpm
+```
+
```tsx
import { loadFont } from "@remotion/google-fonts/Lobster";