Increased video quality, fixed backgrounds, segregated styles
This commit is contained in:
+2
-2
@@ -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);
|
||||
});
|
||||
Reference in New Issue
Block a user