fix mas
This commit is contained in:
parent
58dc0dfe1d
commit
9a0293a6e1
1 changed files with 3 additions and 3 deletions
|
@ -33,11 +33,11 @@ document.getElementById('search-button').addEventListener('click', async () => {
|
||||||
//const url = window.URL.createObjectURL(blob);
|
//const url = window.URL.createObjectURL(blob);
|
||||||
const a = document.createElement('a');
|
const a = document.createElement('a');
|
||||||
a.style.display = 'none';
|
a.style.display = 'none';
|
||||||
a.href = url;
|
a.href = downloadResponse;
|
||||||
//a.download = 'video.mp4'; // You might want to set this dynamically
|
//a.download = 'video.mp4'; // You might want to set this dynamically
|
||||||
document.body.appendChild(a);
|
document.body.appendChild(a);
|
||||||
a.click();
|
//a.click();
|
||||||
window.URL.revokeObjectURL(url);
|
//window.URL.revokeObjectURL(url);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue