@remotion/player 4.0.434 → 4.0.435

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.
@@ -292,7 +292,7 @@ const PlayerUI = ({ controls, style, loop, autoPlay, allowFullscreen, inputProps
292
292
  throw new TypeError(`setVolume() got a number that is NaN. Volume must be between 0 and 1.`);
293
293
  }
294
294
  if (vol < 0 || vol > 1) {
295
- throw new TypeError(`setVolume() got a number that is out of range. Must be between 0 and 1, got ${typeof vol}`);
295
+ throw new TypeError(`setVolume() got a number that is out of range. Must be between 0 and 1, got ${vol}`);
296
296
  }
297
297
  setMediaVolume(vol);
298
298
  },
@@ -2647,7 +2647,7 @@ var PlayerUI = ({
2647
2647
  throw new TypeError(`setVolume() got a number that is NaN. Volume must be between 0 and 1.`);
2648
2648
  }
2649
2649
  if (vol < 0 || vol > 1) {
2650
- throw new TypeError(`setVolume() got a number that is out of range. Must be between 0 and 1, got ${typeof vol}`);
2650
+ throw new TypeError(`setVolume() got a number that is out of range. Must be between 0 and 1, got ${vol}`);
2651
2651
  }
2652
2652
  setMediaVolume(vol);
2653
2653
  },
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "url": "https://github.com/remotion-dev/remotion/tree/main/packages/player"
4
4
  },
5
5
  "name": "@remotion/player",
6
- "version": "4.0.434",
6
+ "version": "4.0.435",
7
7
  "description": "React component for embedding a Remotion preview into your app",
8
8
  "main": "dist/cjs/index.js",
9
9
  "types": "dist/cjs/index.d.ts",
@@ -36,7 +36,7 @@
36
36
  ],
37
37
  "license": "SEE LICENSE IN LICENSE.md",
38
38
  "dependencies": {
39
- "remotion": "4.0.434"
39
+ "remotion": "4.0.435"
40
40
  },
41
41
  "peerDependencies": {
42
42
  "react": ">=16.8.0",
@@ -50,7 +50,7 @@
50
50
  "react-dom": "19.2.3",
51
51
  "webpack": "5.105.0",
52
52
  "zod": "4.3.6",
53
- "@remotion/eslint-config-internal": "4.0.434",
53
+ "@remotion/eslint-config-internal": "4.0.435",
54
54
  "eslint": "9.19.0",
55
55
  "@typescript/native-preview": "7.0.0-dev.20260217.1"
56
56
  },