@remotion/media-utils
Advanced tools
Comparing version 4.0.171 to 4.0.172
@@ -39,3 +39,3 @@ "use strict"; | ||
const onMediaError = ({ error, src, reject, cleanup, api, }) => { | ||
const suspecting404 = (error === null || error === void 0 ? void 0 : error.MEDIA_ERR_SRC_NOT_SUPPORTED) === (error === null || error === void 0 ? void 0 : error.code); | ||
const suspecting404 = error.MEDIA_ERR_SRC_NOT_SUPPORTED === error.code; | ||
const isSrcSameOriginAsCurrent = new URL(src, window.location.origin) | ||
@@ -58,4 +58,7 @@ .toString() | ||
status === null | ||
? `Browser error message: ${error === null || error === void 0 ? void 0 : error.message}` | ||
? null | ||
: `HTTP Status code of the file: ${status}.`, | ||
error.message | ||
? `Browser error message: ${error.message}` | ||
: null, | ||
'Check the path of the file and if it is a valid video.', | ||
@@ -62,0 +65,0 @@ ] |
{ | ||
"name": "@remotion/media-utils", | ||
"version": "4.0.171", | ||
"version": "4.0.172", | ||
"description": "Utility functions for audio and video", | ||
@@ -16,3 +16,3 @@ "main": "dist/index.js", | ||
"dependencies": { | ||
"remotion": "4.0.171" | ||
"remotion": "4.0.172" | ||
}, | ||
@@ -19,0 +19,0 @@ "peerDependencies": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1060
44266
+ Addedremotion@4.0.172(transitive)
- Removedremotion@4.0.171(transitive)
Updatedremotion@4.0.172