remotion 4.0.113 → 4.0.114

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.
@@ -40,7 +40,7 @@ const useMediaPlayback = ({ mediaRef, src, mediaType, playbackRate: localPlaybac
40
40
  }
41
41
  return acceptableTimeshift;
42
42
  })();
43
- const pausedOrBuffering = !playing || (buffering && buffering.buffering);
43
+ const pausedOrBuffering = !playing || (buffering && buffering.buffering.current);
44
44
  (0, react_1.useEffect)(() => {
45
45
  var _a;
46
46
  if (pausedOrBuffering) {
@@ -1 +1 @@
1
- export declare const VERSION = "4.0.113";
1
+ export declare const VERSION = "4.0.114";
@@ -2,4 +2,4 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.VERSION = void 0;
4
4
  // Automatically generated on publish
5
- exports.VERSION = '4.0.113';
5
+ exports.VERSION = '4.0.114';
@@ -105,7 +105,7 @@ function truthy(value) {
105
105
  }
106
106
 
107
107
  // Automatically generated on publish
108
- const VERSION = '4.0.113';
108
+ const VERSION = '4.0.114';
109
109
 
110
110
  const checkMultipleRemotionVersions = () => {
111
111
  if (typeof globalThis === 'undefined') {
@@ -2051,7 +2051,7 @@ const useMediaPlayback = ({ mediaRef, src, mediaType, playbackRate: localPlaybac
2051
2051
  }
2052
2052
  return acceptableTimeshift;
2053
2053
  })();
2054
- const pausedOrBuffering = !playing || (buffering && buffering.buffering);
2054
+ const pausedOrBuffering = !playing || (buffering && buffering.buffering.current);
2055
2055
  useEffect(() => {
2056
2056
  var _a;
2057
2057
  if (pausedOrBuffering) {
@@ -1,4 +1,4 @@
1
1
  // Automatically generated on publish
2
- const VERSION = '4.0.113';
2
+ const VERSION = '4.0.114';
3
3
 
4
4
  export { VERSION };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "remotion",
3
- "version": "4.0.113",
3
+ "version": "4.0.114",
4
4
  "description": "Render videos in React",
5
5
  "main": "dist/cjs/index.js",
6
6
  "types": "dist/cjs/index.d.ts",