Skip to content

🎥 Make videos programmatically with React

update remotion/media packages

Jonny Burger0187c01e67e0
diff --git a/packages/media/README.md b/packages/media/README.md
index be2247442f..f0d58f3913 100644
--- a/packages/media/README.md
+++ b/packages/media/README.md
@@ -1,7 +1,18 @@
# @remotion/media
-
-Experimental tag for reliable and accurate video embedding
-
+
+Experimental WebCodecs-based media tags
+
+[![NPM Downloads](https://img.shields.io/npm/dm/@remotion/media.svg?style=flat&color=black&label=Downloads)](https://npmcharts.com/compare/@remotion/media?minimal=true)
+
+## Installation
+
+```bash
+npm install @remotion/media --save-exact
+```
+
+When installing a Remotion package, make sure to align the version of all `remotion` and `@remotion/*` packages to the same version.
+Remove the `^` character from the version number to use the exact version.
+
## Usage
-
-This is an internal package and has no documentation.
+
+See the [documentation](https://remotion.dev/docs/media) for more information.
diff --git a/packages/media/package.json b/packages/media/package.json
index a7518bdfe6..c792ecd607 100644
--- a/packages/media/package.json
+++ b/packages/media/package.json
@@ -5,7 +5,7 @@
"types": "dist/index.d.ts",
"module": "dist/esm/index.mjs",
"repository": {
- "url": "https://github.com/remotion-dev/remotion/tree/main/packages/video"
+ "url": "https://github.com/remotion-dev/remotion/tree/main/packages/media"
},
"sideEffects": false,
"author": "Hunain Ahmed <[email protected]>",
@@ -49,5 +49,6 @@
},
"./package.json": "./package.json"
},
- "description": "Experimental tag for reliable and accurate video embedding"
+ "description": "Experimental WebCodecs-based media tags",
+ "homepage": "https://remotion.dev/docs/media"
}
diff --git a/packages/studio-shared/src/package-info.ts b/packages/studio-shared/src/package-info.ts
index 9b0795a361..e9e2b7fc39 100644
--- a/packages/studio-shared/src/package-info.ts
+++ b/packages/studio-shared/src/package-info.ts
@@ -76,7 +76,7 @@ export const packages = [
'compositor',
'example-videos',
'whisper-web',
- 'video',
+ 'media',
'web-renderer',
] as const;
@@ -164,7 +164,7 @@ export const descriptions: {[key in Pkgs]: string | null} = {
'promo-pages': null,
'svg-3d-engine': '3D SVG extrusion effects',
'serverless-client': null,
- video: 'Experimental tag for reliable and accurate video embedding',
+ media: 'Experimental WebCodecs-based media tags',
'web-renderer': 'Render videos in the browser (not yet released)',
};
export const installableMap: {[key in Pkgs]: boolean} = {
@@ -245,7 +245,7 @@ export const installableMap: {[key in Pkgs]: boolean} = {
'openai-whisper': true,
compositor: false,
'example-videos': false,
- video: false,
+ media: true,
'web-renderer': false,
};
@@ -330,7 +330,7 @@ export const apiDocs: {[key in Pkgs]: string | null} = {
'example-videos': null,
'promo-pages': null,
'svg-3d-engine': null,
- video: null,
+ media: 'https://remotion.dev/docs/media',
// TODO: Add docs
'web-renderer': null,
};