From b921950a40f1afd3fb27490aded53d3e630c332f Mon Sep 17 00:00:00 2001
From: TheErrorExe <161362055+TheErrorExe@users.noreply.github.com>
Date: Mon, 10 Mar 2025 10:48:03 +0100
Subject: [PATCH] update loading site
---
site_storage/loading_template.html | 12 +++++-------
1 file changed, 5 insertions(+), 7 deletions(-)
diff --git a/site_storage/loading_template.html b/site_storage/loading_template.html
index 9921602..652d269 100644
--- a/site_storage/loading_template.html
+++ b/site_storage/loading_template.html
@@ -137,17 +137,15 @@
function updateProgress(status) {
if (status.status === 'complete') {
- loadingGif.style.display = 'none';
- progressText.innerHTML = 'Done!';
- goButton.style.display = 'inline';
+ window.location.href = '/watch?video_id=' + videoId;
} else if (status.status === 'downloading') {
- progressText.innerHTML = 'The Server is Downloading...';
+ progressText.innerHTML = 'Downloading...';
} else if (status.status === 'converting') {
- progressText.innerHTML = 'The Server is Converting video...';
+ progressText.innerHTML = 'Converting video from mp4 to webm...';
} else if (status.status === 'converting for Wii') {
- progressText.innerHTML = 'The Server is Converting for Wii...';
+ progressText.innerHTML = 'Converting to Flash Video...';
} else {
- progressText.innerHTML = 'The Server was unable to process the video! Report the Bug in the Discord Server.
Error Details: Error on Video with ID: {{ video_id }}
Discord Server on ReviveMii Homepage Footer';
+ progressText.innerHTML = 'The Server was unable to process the video! Report the Bug in the Discord Server.
Error on Video with ID: {{ video_id }}
Discord Server: https://revivemii.xyz/discord-redirect';
}
}