patch stuff up
This commit is contained in:
parent
46612bb054
commit
7fde73ca6b
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ document.getElementById('search-button').addEventListener('click', async () => {
|
|||
const a = document.createElement('a');
|
||||
a.style.display = 'none';
|
||||
a.href = url;
|
||||
a.download = 'video.mp4'; // You might want to set this dynamically
|
||||
a.download = `${video.title}.webm`; // You might want to set this dynamically
|
||||
document.body.appendChild(a);
|
||||
a.click();
|
||||
window.URL.revokeObjectURL(url);
|
||||
|
|
Loading…
Reference in a new issue