@remotion/web-renderer 4.0.443 → 4.0.445

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.
@@ -4180,6 +4180,14 @@ var internalRenderMediaOnWeb = async ({
4180
4180
  if (videoEnabled && codec && !format.getSupportedCodecs().includes(codecToMediabunnyCodec(codec))) {
4181
4181
  return Promise.reject(new Error(`Codec ${codec} is not supported for container ${container}`));
4182
4182
  }
4183
+ if (transparent) {
4184
+ if (container !== "webm" && container !== "mkv") {
4185
+ return Promise.reject(new Error(`Transparent videos are only supported with the "webm" and "mkv" containers, but you specified "${container}". Change the \`container\` option to "webm" or "mkv".`));
4186
+ }
4187
+ if (codec && codec !== "vp8" && codec !== "vp9") {
4188
+ return Promise.reject(new Error(`Transparent videos are only supported with the "vp8" and "vp9" codecs, but you specified "${codec}". Change the \`videoCodec\` option to "vp8" or "vp9", or remove it to use the default.`));
4189
+ }
4190
+ }
4183
4191
  const resolvedAudioBitrate = typeof audioBitrate === "number" ? audioBitrate : getQualityForWebRendererQuality(audioBitrate);
4184
4192
  let finalAudioCodec = null;
4185
4193
  if (!muted) {
package/package.json CHANGED
@@ -3,7 +3,7 @@
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.443",
6
+ "version": "4.0.445",
7
7
  "main": "dist/index.js",
8
8
  "type": "module",
9
9
  "scripts": {
@@ -22,16 +22,16 @@
22
22
  "@mediabunny/mp3-encoder": "1.39.2",
23
23
  "@mediabunny/aac-encoder": "1.39.2",
24
24
  "@mediabunny/flac-encoder": "1.39.2",
25
- "@remotion/licensing": "4.0.443",
26
- "remotion": "4.0.443",
25
+ "@remotion/licensing": "4.0.445",
26
+ "remotion": "4.0.445",
27
27
  "mediabunny": "1.39.2"
28
28
  },
29
29
  "devDependencies": {
30
30
  "@react-three/fiber": "9.2.0",
31
- "@remotion/eslint-config-internal": "4.0.443",
32
- "@remotion/player": "4.0.443",
33
- "@remotion/media": "4.0.443",
34
- "@remotion/three": "4.0.443",
31
+ "@remotion/eslint-config-internal": "4.0.445",
32
+ "@remotion/player": "4.0.445",
33
+ "@remotion/media": "4.0.445",
34
+ "@remotion/three": "4.0.445",
35
35
  "@types/three": "0.170.0",
36
36
  "@typescript/native-preview": "7.0.0-dev.20260217.1",
37
37
  "@vitejs/plugin-react": "4.3.4",