@remotion/gif 4.0.524 → 4.0.525

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.
@@ -5,6 +5,6 @@ const resolveGifSource = (src) => {
5
5
  if (typeof window === 'undefined') {
6
6
  return src;
7
7
  }
8
- return new URL(src, window.origin).href;
8
+ return new URL(src, document.baseURI).href;
9
9
  };
10
10
  exports.resolveGifSource = resolveGifSource;
@@ -836,7 +836,7 @@ var resolveGifSource = (src2) => {
836
836
  if (typeof window === "undefined") {
837
837
  return src2;
838
838
  }
839
- return new URL(src2, window.origin).href;
839
+ return new URL(src2, document.baseURI).href;
840
840
  };
841
841
 
842
842
  // src/get-gif-duration-in-seconds.ts
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "url": "https://github.com/remotion-dev/remotion/tree/main/packages/gif"
4
4
  },
5
5
  "name": "@remotion/gif",
6
- "version": "4.0.524",
6
+ "version": "4.0.525",
7
7
  "description": "Embed GIFs in a Remotion video",
8
8
  "bugs": {
9
9
  "url": "https://github.com/remotion-dev/remotion/issues"
@@ -30,7 +30,7 @@
30
30
  }
31
31
  },
32
32
  "dependencies": {
33
- "remotion": "4.0.524"
33
+ "remotion": "4.0.525"
34
34
  },
35
35
  "devDependencies": {
36
36
  "@testing-library/react": "16.1.0",
@@ -38,7 +38,7 @@
38
38
  "react": "19.2.3",
39
39
  "react-dom": "19.2.3",
40
40
  "webpack": "5.105.0",
41
- "@remotion/eslint-config-internal": "4.0.524",
41
+ "@remotion/eslint-config-internal": "4.0.525",
42
42
  "eslint": "9.19.0",
43
43
  "@typescript/native-preview": "7.0.0-dev.20260217.1"
44
44
  },