@remotion/web-renderer 4.0.428 → 4.0.429
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +7 -7
- package/dist/esm/index.mjs +3 -2
- package/package.json +9 -9
package/README.md
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
# @remotion/web-renderer
|
|
2
|
-
|
|
2
|
+
|
|
3
3
|
Render videos in the browser (not yet released)
|
|
4
|
-
|
|
4
|
+
|
|
5
5
|
[](https://npmcharts.com/compare/@remotion/web-renderer?minimal=true)
|
|
6
|
-
|
|
6
|
+
|
|
7
7
|
## Installation
|
|
8
|
-
|
|
8
|
+
|
|
9
9
|
```bash
|
|
10
10
|
npm install @remotion/web-renderer --save-exact
|
|
11
11
|
```
|
|
12
|
-
|
|
12
|
+
|
|
13
13
|
When installing a Remotion package, make sure to align the version of all `remotion` and `@remotion/*` packages to the same version.
|
|
14
14
|
Remove the `^` character from the version number to use the exact version.
|
|
15
|
-
|
|
15
|
+
|
|
16
16
|
## Usage
|
|
17
|
-
|
|
17
|
+
|
|
18
18
|
See the [documentation](https://www.remotion.dev/docs/web-renderer/) for more information.
|
package/dist/esm/index.mjs
CHANGED
|
@@ -984,7 +984,7 @@ var sendUsageEvent = async ({
|
|
|
984
984
|
}
|
|
985
985
|
await LicensingInternals.internalRegisterUsageEvent({
|
|
986
986
|
licenseKey: licenseKey === "free-license" ? null : licenseKey,
|
|
987
|
-
event: "
|
|
987
|
+
event: "web-render",
|
|
988
988
|
host,
|
|
989
989
|
succeeded,
|
|
990
990
|
isStill,
|
|
@@ -3325,6 +3325,7 @@ var drawText = ({
|
|
|
3325
3325
|
fontFamily,
|
|
3326
3326
|
fontSize,
|
|
3327
3327
|
fontWeight,
|
|
3328
|
+
fontStyle,
|
|
3328
3329
|
direction,
|
|
3329
3330
|
writingMode,
|
|
3330
3331
|
letterSpacing,
|
|
@@ -3342,7 +3343,7 @@ var drawText = ({
|
|
|
3342
3343
|
}
|
|
3343
3344
|
contextToDraw.save();
|
|
3344
3345
|
const fontSizePx = parseFloat(fontSize);
|
|
3345
|
-
contextToDraw.font = `${fontWeight} ${fontSizePx}px ${fontFamily}`;
|
|
3346
|
+
contextToDraw.font = `${fontStyle} ${fontWeight} ${fontSizePx}px ${fontFamily}`;
|
|
3346
3347
|
contextToDraw.fillStyle = onlyBackgroundClipText ? "black" : webkitTextFillColor;
|
|
3347
3348
|
contextToDraw.letterSpacing = letterSpacing;
|
|
3348
3349
|
const isRTL = direction === "rtl";
|
package/package.json
CHANGED
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
"url": "https://github.com/remotion-dev/remotion/tree/main/packages/web-renderer"
|
|
4
4
|
},
|
|
5
5
|
"name": "@remotion/web-renderer",
|
|
6
|
-
"version": "4.0.
|
|
6
|
+
"version": "4.0.429",
|
|
7
7
|
"main": "dist/index.js",
|
|
8
8
|
"type": "module",
|
|
9
9
|
"scripts": {
|
|
10
|
-
"formatting": "
|
|
10
|
+
"formatting": "oxfmt src --check",
|
|
11
11
|
"lint": "eslint src",
|
|
12
12
|
"make": "tsgo && bun --env-file=../.env.bundle bundle.ts",
|
|
13
13
|
"watch": "tsgo -w",
|
|
@@ -18,16 +18,16 @@
|
|
|
18
18
|
"author": "Remotion <jonny@remotion.dev>",
|
|
19
19
|
"license": "UNLICENSED",
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@remotion/licensing": "4.0.
|
|
22
|
-
"remotion": "4.0.
|
|
23
|
-
"mediabunny": "1.34.
|
|
21
|
+
"@remotion/licensing": "4.0.429",
|
|
22
|
+
"remotion": "4.0.429",
|
|
23
|
+
"mediabunny": "1.34.5"
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {
|
|
26
26
|
"@react-three/fiber": "9.2.0",
|
|
27
|
-
"@remotion/eslint-config-internal": "4.0.
|
|
28
|
-
"@remotion/player": "4.0.
|
|
29
|
-
"@remotion/media": "4.0.
|
|
30
|
-
"@remotion/three": "4.0.
|
|
27
|
+
"@remotion/eslint-config-internal": "4.0.429",
|
|
28
|
+
"@remotion/player": "4.0.429",
|
|
29
|
+
"@remotion/media": "4.0.429",
|
|
30
|
+
"@remotion/three": "4.0.429",
|
|
31
31
|
"@types/three": "0.170.0",
|
|
32
32
|
"@typescript/native-preview": "7.0.0-dev.20260217.1",
|
|
33
33
|
"@vitejs/plugin-react": "4.3.4",
|