add webm extension

This commit is contained in:
The Ghost of FOSS' Past 2024-10-28 13:08:19 -05:00
parent b8c9fca4b6
commit 459ce1b0a5

View file

@ -21,7 +21,7 @@ document.getElementById('search-button').addEventListener('click', async () => {
listItem.innerHTML = `
<strong>${video.title}</strong> (${video.views} views) by ${video.author}
<br>
<a href="https://ubertuberbe.nodemixaholic.com/download?url=${encodeURIComponent(video.url)}" download="${video.title}" class="download-link" data-url="${video.url}">Download</a>
<a href="https://ubertuberbe.nodemixaholic.com/download?url=${encodeURIComponent(video.url)}" download="${video.title}.webm" class="download-link" data-url="${video.url}">Download</a>
`;
resultsList.appendChild(listItem);
});