Increased video quality, fixed backgrounds, segregated styles

This commit is contained in:
2023-09-27 20:58:45 +03:00
parent aa6fa84d2d
commit 3cf0d5f5b3
10 changed files with 132 additions and 26 deletions
+2 -2
View File
@@ -5,7 +5,7 @@ async function sleep(ms) {
await new Promise(resolve => setTimeout(resolve, ms));
}
document.querySelector('.fullscreen').onclick = () => {
document.querySelector('.content').onclick = () => {
document.title = 'Downloading...';
video.style.cursor = 'default';
@@ -15,6 +15,6 @@ document.querySelector('.fullscreen').onclick = () => {
video.addEventListener('ended', async () => {
document.title = 'Download complete!';
await sleep(3000);
await sleep(1500);
window.location.replace(redirect);
});