patch stuff up

This commit is contained in:
The Ghost of FOSS' Past 2024-10-28 12:49:44 -05:00
parent 46612bb054
commit 7fde73ca6b

View file

@ -34,7 +34,7 @@ document.getElementById('search-button').addEventListener('click', async () => {
const a = document.createElement('a'); const a = document.createElement('a');
a.style.display = 'none'; a.style.display = 'none';
a.href = url; 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); document.body.appendChild(a);
a.click(); a.click();
window.URL.revokeObjectURL(url); window.URL.revokeObjectURL(url);