add webm extension
This commit is contained in:
parent
b8c9fca4b6
commit
459ce1b0a5
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@ document.getElementById('search-button').addEventListener('click', async () => {
|
||||||
listItem.innerHTML = `
|
listItem.innerHTML = `
|
||||||
<strong>${video.title}</strong> (${video.views} views) by ${video.author}
|
<strong>${video.title}</strong> (${video.views} views) by ${video.author}
|
||||||
<br>
|
<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);
|
resultsList.appendChild(listItem);
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue