@remotion/renderer 4.0.445 → 4.0.447

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.
@@ -0,0 +1,16 @@
1
+ export declare const allowHtmlInCanvasOption: {
2
+ name: string;
3
+ cliFlag: "allow-html-in-canvas";
4
+ description: () => import("react/jsx-runtime").JSX.Element;
5
+ ssrName: null;
6
+ docLink: string;
7
+ type: boolean;
8
+ getValue: ({ commandLine }: {
9
+ commandLine: Record<string, unknown>;
10
+ }) => {
11
+ value: boolean;
12
+ source: string;
13
+ };
14
+ setConfig(value: boolean): void;
15
+ id: "allow-html-in-canvas";
16
+ };
@@ -0,0 +1,31 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.allowHtmlInCanvasOption = void 0;
4
+ const jsx_runtime_1 = require("react/jsx-runtime");
5
+ let allowHtmlInCanvasEnabled = false;
6
+ const cliFlag = 'allow-html-in-canvas';
7
+ exports.allowHtmlInCanvasOption = {
8
+ name: 'Allow HTML-in-canvas for client-side rendering',
9
+ cliFlag,
10
+ description: () => (jsx_runtime_1.jsxs(jsx_runtime_1.Fragment, { children: ["When client-side rendering is enabled in the Studio, allow the experimental Chromium HTML-in-canvas API to be used for capturing frames. See", ' ', jsx_runtime_1.jsx("a", { href: "/docs/client-side-rendering/html-in-canvas", children: "HTML-in-canvas docs" }),
11
+ "."] })),
12
+ ssrName: null,
13
+ docLink: 'https://www.remotion.dev/docs/client-side-rendering/html-in-canvas',
14
+ type: false,
15
+ getValue: ({ commandLine }) => {
16
+ if (commandLine[cliFlag] !== null) {
17
+ return {
18
+ value: commandLine[cliFlag],
19
+ source: 'cli',
20
+ };
21
+ }
22
+ return {
23
+ value: allowHtmlInCanvasEnabled,
24
+ source: 'config',
25
+ };
26
+ },
27
+ setConfig(value) {
28
+ allowHtmlInCanvasEnabled = value;
29
+ },
30
+ id: cliFlag,
31
+ };
@@ -0,0 +1,16 @@
1
+ export declare const browserDownloadDirOption: {
2
+ name: string;
3
+ cliFlag: "browser-download-dir";
4
+ description: () => import("react/jsx-runtime").JSX.Element;
5
+ ssrName: "browserDownloadDir";
6
+ docLink: string;
7
+ type: string | null;
8
+ getValue: ({ commandLine }: {
9
+ commandLine: Record<string, unknown>;
10
+ }) => {
11
+ source: string;
12
+ value: string | null;
13
+ };
14
+ setConfig: (value: string | null) => void;
15
+ id: "browser-download-dir";
16
+ };
@@ -0,0 +1,42 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.browserDownloadDirOption = void 0;
4
+ const jsx_runtime_1 = require("react/jsx-runtime");
5
+ const cliFlag = 'browser-download-dir';
6
+ let currentDirectory = null;
7
+ exports.browserDownloadDirOption = {
8
+ name: 'Browser Download Directory',
9
+ cliFlag,
10
+ description: () => (jsx_runtime_1.jsxs(jsx_runtime_1.Fragment, { children: ["Specify the directory where the browser should be downloaded to when calling ",
11
+ jsx_runtime_1.jsx("code", { children: "npx remotion browser ensure" }),
12
+ ". By default, Remotion downloads the browser into ",
13
+ jsx_runtime_1.jsx("code", { children: "node_modules/.remotion" }),
14
+ " inside the nearest project root. Use this option to override the default download location. Pass ",
15
+ jsx_runtime_1.jsx("code", { children: "null" }),
16
+ " to use the default location."] })),
17
+ ssrName: 'browserDownloadDir',
18
+ docLink: 'https://www.remotion.dev/docs/config#setbrowserdownloaddir',
19
+ type: '',
20
+ getValue: ({ commandLine }) => {
21
+ if (commandLine[cliFlag] !== undefined) {
22
+ return {
23
+ source: 'cli',
24
+ value: commandLine[cliFlag],
25
+ };
26
+ }
27
+ if (currentDirectory !== null) {
28
+ return {
29
+ source: 'config',
30
+ value: currentDirectory,
31
+ };
32
+ }
33
+ return {
34
+ source: 'default',
35
+ value: null,
36
+ };
37
+ },
38
+ setConfig: (value) => {
39
+ currentDirectory = value;
40
+ },
41
+ id: cliFlag,
42
+ };
@@ -1,5 +1,21 @@
1
1
  import type { AnyRemotionOption } from './option';
2
2
  export declare const allOptions: {
3
+ allowHtmlInCanvasOption: {
4
+ name: string;
5
+ cliFlag: "allow-html-in-canvas";
6
+ description: () => import("react/jsx-runtime").JSX.Element;
7
+ ssrName: null;
8
+ docLink: string;
9
+ type: boolean;
10
+ getValue: ({ commandLine }: {
11
+ commandLine: Record<string, unknown>;
12
+ }) => {
13
+ value: boolean;
14
+ source: string;
15
+ };
16
+ setConfig(value: boolean): void;
17
+ id: "allow-html-in-canvas";
18
+ };
3
19
  audioCodecOption: {
4
20
  cliFlag: "audio-codec";
5
21
  setConfig: (audioCodec: "aac" | "mp3" | "opus" | "pcm-16" | null) => void;
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.allOptions = void 0;
4
+ const allow_html_in_canvas_1 = require("./allow-html-in-canvas");
4
5
  const api_key_1 = require("./api-key");
5
6
  const ask_ai_1 = require("./ask-ai");
6
7
  const audio_bitrate_1 = require("./audio-bitrate");
@@ -90,6 +91,7 @@ const webhook_custom_data_1 = require("./webhook-custom-data");
90
91
  const webpack_poll_1 = require("./webpack-poll");
91
92
  const x264_preset_1 = require("./x264-preset");
92
93
  exports.allOptions = {
94
+ allowHtmlInCanvasOption: allow_html_in_canvas_1.allowHtmlInCanvasOption,
93
95
  audioCodecOption: audio_codec_1.audioCodecOption,
94
96
  benchmarkConcurrenciesOption: benchmark_concurrencies_1.benchmarkConcurrenciesOption,
95
97
  browserExecutableOption: browser_executable_1.browserExecutableOption,
@@ -7,7 +7,7 @@ let currentPublicLicenseKey = null;
7
7
  exports.publicLicenseKeyOption = {
8
8
  name: 'Public License Key',
9
9
  cliFlag,
10
- description: () => (jsx_runtime_1.jsxs(jsx_runtime_1.Fragment, { children: ["The public license key for your company license, obtained from the \"Usage\" tab on ",
10
+ description: () => (jsx_runtime_1.jsxs(jsx_runtime_1.Fragment, { children: ["The public license key for your company license, obtained from the License keys page on ",
11
11
  jsx_runtime_1.jsx("a", { href: "https://remotion.pro/dashboard", children: "remotion.pro" }),
12
12
  ". If you are eligible for the free license, pass \"free-license\"."] })),
13
13
  ssrName: 'publicLicenseKey',
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "url": "https://github.com/remotion-dev/remotion/tree/main/packages/renderer"
4
4
  },
5
5
  "name": "@remotion/renderer",
6
- "version": "4.0.445",
6
+ "version": "4.0.447",
7
7
  "description": "Render Remotion videos using Node.js or Bun",
8
8
  "main": "dist/index.js",
9
9
  "types": "dist/index.d.ts",
@@ -24,11 +24,11 @@
24
24
  "dependencies": {
25
25
  "execa": "5.1.1",
26
26
  "extract-zip": "2.0.1",
27
- "remotion": "4.0.445",
28
- "@remotion/streaming": "4.0.445",
27
+ "remotion": "4.0.447",
28
+ "@remotion/streaming": "4.0.447",
29
29
  "source-map": "^0.8.0-beta.0",
30
30
  "ws": "8.17.1",
31
- "@remotion/licensing": "4.0.445"
31
+ "@remotion/licensing": "4.0.447"
32
32
  },
33
33
  "peerDependencies": {
34
34
  "react": ">=16.8.0",
@@ -42,19 +42,19 @@
42
42
  "react-dom": "19.2.3",
43
43
  "@typescript/native-preview": "7.0.0-dev.20260217.1",
44
44
  "@types/ws": "8.5.10",
45
- "@remotion/example-videos": "4.0.445",
46
- "@remotion/eslint-config-internal": "4.0.445",
45
+ "@remotion/example-videos": "4.0.447",
46
+ "@remotion/eslint-config-internal": "4.0.447",
47
47
  "eslint": "9.19.0",
48
48
  "@types/node": "20.12.14"
49
49
  },
50
50
  "optionalDependencies": {
51
- "@remotion/compositor-darwin-arm64": "4.0.445",
52
- "@remotion/compositor-darwin-x64": "4.0.445",
53
- "@remotion/compositor-linux-arm64-gnu": "4.0.445",
54
- "@remotion/compositor-linux-arm64-musl": "4.0.445",
55
- "@remotion/compositor-linux-x64-gnu": "4.0.445",
56
- "@remotion/compositor-linux-x64-musl": "4.0.445",
57
- "@remotion/compositor-win32-x64-msvc": "4.0.445"
51
+ "@remotion/compositor-darwin-arm64": "4.0.447",
52
+ "@remotion/compositor-darwin-x64": "4.0.447",
53
+ "@remotion/compositor-linux-arm64-gnu": "4.0.447",
54
+ "@remotion/compositor-linux-arm64-musl": "4.0.447",
55
+ "@remotion/compositor-linux-x64-gnu": "4.0.447",
56
+ "@remotion/compositor-linux-x64-musl": "4.0.447",
57
+ "@remotion/compositor-win32-x64-msvc": "4.0.447"
58
58
  },
59
59
  "keywords": [
60
60
  "remotion",