diff --git a/utils/tools.ts b/utils/tools.ts index 9910de9..a3cd219 100644 --- a/utils/tools.ts +++ b/utils/tools.ts @@ -80,7 +80,7 @@ export function createScreenAdapter(): void { export const downloadVideo = async (url: string) => { try { - const response = await fetch(url); + const response = await fetch(decodeURIComponent(url)); const blob = await response.blob(); const blobUrl = window.URL.createObjectURL(blob); const a = document.createElement('a');