remotion 4.0.102 → 4.0.104

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/LICENSE.md CHANGED
@@ -7,7 +7,7 @@ Depending on the type of your legal entity, you are granted permission to use Re
7
7
 
8
8
  ## Free license
9
9
 
10
- Copyright © 2023 [Remotion](https://www.remotion.dev)
10
+ Copyright © 2024 [Remotion](https://www.remotion.dev)
11
11
 
12
12
  ### Eligibility
13
13
 
@@ -17,6 +17,11 @@ const portalNode = () => {
17
17
  _portalNode.style.height = '100%';
18
18
  _portalNode.style.display = 'flex';
19
19
  _portalNode.style.flexDirection = 'column';
20
+ const containerNode = document.createElement('div');
21
+ containerNode.style.position = 'fixed';
22
+ containerNode.style.top = -999999 + 'px';
23
+ containerNode.appendChild(_portalNode);
24
+ document.body.appendChild(containerNode);
20
25
  }
21
26
  return _portalNode;
22
27
  };
@@ -1 +1 @@
1
- export declare const VERSION = "4.0.102";
1
+ export declare const VERSION = "4.0.104";
@@ -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.102';
5
+ exports.VERSION = '4.0.104';
@@ -105,7 +105,7 @@ function truthy(value) {
105
105
  }
106
106
 
107
107
  // Automatically generated on publish
108
- const VERSION = '4.0.102';
108
+ const VERSION = '4.0.104';
109
109
 
110
110
  const checkMultipleRemotionVersions = () => {
111
111
  if (typeof globalThis === 'undefined') {
@@ -2786,6 +2786,11 @@ const portalNode = () => {
2786
2786
  _portalNode.style.height = '100%';
2787
2787
  _portalNode.style.display = 'flex';
2788
2788
  _portalNode.style.flexDirection = 'column';
2789
+ const containerNode = document.createElement('div');
2790
+ containerNode.style.position = 'fixed';
2791
+ containerNode.style.top = -999999 + 'px';
2792
+ containerNode.appendChild(_portalNode);
2793
+ document.body.appendChild(containerNode);
2789
2794
  }
2790
2795
  return _portalNode;
2791
2796
  };
@@ -1,4 +1,4 @@
1
1
  // Automatically generated on publish
2
- const VERSION = '4.0.102';
2
+ const VERSION = '4.0.104';
3
3
 
4
4
  export { VERSION };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "remotion",
3
- "version": "4.0.102",
3
+ "version": "4.0.104",
4
4
  "description": "Render videos in React",
5
5
  "main": "dist/cjs/index.js",
6
6
  "types": "dist/cjs/index.d.ts",