fix: clean file info cards for non-native video/media formats on tool page

Instead of showing a broken video player error for formats like AVI,
MKV, WMV that browsers can't play, show a clean file info card with
icon, filename, format, and size. Message says "Preview will be
available after processing" which is accurate -- the processed output
is typically in a browser-friendly format.

Also cleaned up the post-processing non-previewable card to match
the same visual style.
This commit is contained in:
SnapOtter
2026-06-15 11:57:27 +08:00
parent ed458d4bbd
commit 511e941da0
22 changed files with 65 additions and 25 deletions
+1
View File
@@ -2453,6 +2453,7 @@ export const ar: TranslationKeys = {
adjustSettings: "Adjust settings",
startOver: "Start over with a new file",
newFile: "New file",
previewUnavailable: "Preview will be available after processing",
backToTools: "Back to Tools",
original: "Original",
processed: "Processed",
+1
View File
@@ -2467,6 +2467,7 @@ export const de: TranslationKeys = {
adjustSettings: "Adjust settings",
startOver: "Start over with a new file",
newFile: "New file",
previewUnavailable: "Preview will be available after processing",
backToTools: "Back to Tools",
original: "Original",
processed: "Processed",
+1
View File
@@ -2417,6 +2417,7 @@ export const en = {
adjustSettings: "Adjust settings",
startOver: "Start over with a new file",
newFile: "New file",
previewUnavailable: "Preview will be available after processing",
backToTools: "Back to Tools",
original: "Original",
processed: "Processed",
+1
View File
@@ -2449,6 +2449,7 @@ export const es: TranslationKeys = {
adjustSettings: "Adjust settings",
startOver: "Start over with a new file",
newFile: "New file",
previewUnavailable: "Preview will be available after processing",
backToTools: "Back to Tools",
original: "Original",
processed: "Processed",
+1
View File
@@ -2468,6 +2468,7 @@ export const fr: TranslationKeys = {
adjustSettings: "Adjust settings",
startOver: "Start over with a new file",
newFile: "New file",
previewUnavailable: "Preview will be available after processing",
backToTools: "Back to Tools",
original: "Original",
processed: "Processed",
+1
View File
@@ -2450,6 +2450,7 @@ export const hi: TranslationKeys = {
adjustSettings: "Adjust settings",
startOver: "Start over with a new file",
newFile: "New file",
previewUnavailable: "Preview will be available after processing",
backToTools: "Back to Tools",
original: "Original",
processed: "Processed",
+1
View File
@@ -2462,6 +2462,7 @@ export const id: TranslationKeys = {
adjustSettings: "Adjust settings",
startOver: "Start over with a new file",
newFile: "New file",
previewUnavailable: "Preview will be available after processing",
backToTools: "Back to Tools",
original: "Original",
processed: "Processed",
+1
View File
@@ -2461,6 +2461,7 @@ export const it: TranslationKeys = {
adjustSettings: "Adjust settings",
startOver: "Start over with a new file",
newFile: "New file",
previewUnavailable: "Preview will be available after processing",
backToTools: "Back to Tools",
original: "Original",
processed: "Processed",
+1
View File
@@ -2420,6 +2420,7 @@ export const ja: TranslationKeys = {
adjustSettings: "Adjust settings",
startOver: "Start over with a new file",
newFile: "New file",
previewUnavailable: "Preview will be available after processing",
backToTools: "Back to Tools",
original: "Original",
processed: "Processed",
+1
View File
@@ -2405,6 +2405,7 @@ export const ko: TranslationKeys = {
adjustSettings: "Adjust settings",
startOver: "Start over with a new file",
newFile: "New file",
previewUnavailable: "Preview will be available after processing",
backToTools: "Back to Tools",
original: "Original",
processed: "Processed",
+1
View File
@@ -2464,6 +2464,7 @@ export const nl: TranslationKeys = {
adjustSettings: "Adjust settings",
startOver: "Start over with a new file",
newFile: "New file",
previewUnavailable: "Preview will be available after processing",
backToTools: "Back to Tools",
original: "Original",
processed: "Processed",
+1
View File
@@ -2465,6 +2465,7 @@ export const pl: TranslationKeys = {
adjustSettings: "Adjust settings",
startOver: "Start over with a new file",
newFile: "New file",
previewUnavailable: "Preview will be available after processing",
backToTools: "Back to Tools",
original: "Original",
processed: "Processed",
+1
View File
@@ -2461,6 +2461,7 @@ export const ptBR: TranslationKeys = {
adjustSettings: "Adjust settings",
startOver: "Start over with a new file",
newFile: "New file",
previewUnavailable: "Preview will be available after processing",
backToTools: "Back to Tools",
original: "Original",
processed: "Processed",
+1
View File
@@ -2463,6 +2463,7 @@ export const ru: TranslationKeys = {
adjustSettings: "Adjust settings",
startOver: "Start over with a new file",
newFile: "New file",
previewUnavailable: "Preview will be available after processing",
backToTools: "Back to Tools",
original: "Original",
processed: "Processed",
+1
View File
@@ -2460,6 +2460,7 @@ export const sv: TranslationKeys = {
adjustSettings: "Adjust settings",
startOver: "Start over with a new file",
newFile: "New file",
previewUnavailable: "Preview will be available after processing",
backToTools: "Back to Tools",
original: "Original",
processed: "Processed",
+1
View File
@@ -2442,6 +2442,7 @@ export const th: TranslationKeys = {
adjustSettings: "Adjust settings",
startOver: "Start over with a new file",
newFile: "New file",
previewUnavailable: "Preview will be available after processing",
backToTools: "Back to Tools",
original: "Original",
processed: "Processed",
+1
View File
@@ -2465,6 +2465,7 @@ export const tr: TranslationKeys = {
adjustSettings: "Adjust settings",
startOver: "Start over with a new file",
newFile: "New file",
previewUnavailable: "Preview will be available after processing",
backToTools: "Back to Tools",
original: "Original",
processed: "Processed",
+1
View File
@@ -2463,6 +2463,7 @@ export const uk: TranslationKeys = {
adjustSettings: "Adjust settings",
startOver: "Start over with a new file",
newFile: "New file",
previewUnavailable: "Preview will be available after processing",
backToTools: "Back to Tools",
original: "Original",
processed: "Processed",
+1
View File
@@ -2462,6 +2462,7 @@ export const vi: TranslationKeys = {
adjustSettings: "Adjust settings",
startOver: "Start over with a new file",
newFile: "New file",
previewUnavailable: "Preview will be available after processing",
backToTools: "Back to Tools",
original: "Original",
processed: "Processed",
+1
View File
@@ -2395,6 +2395,7 @@ export const zhCN: TranslationKeys = {
adjustSettings: "Adjust settings",
startOver: "Start over with a new file",
newFile: "New file",
previewUnavailable: "Preview will be available after processing",
backToTools: "Back to Tools",
original: "Original",
processed: "Processed",
+1
View File
@@ -2393,6 +2393,7 @@ export const zhTW: TranslationKeys = {
adjustSettings: "Adjust settings",
startOver: "Start over with a new file",
newFile: "New file",
previewUnavailable: "Preview will be available after processing",
backToTools: "Back to Tools",
original: "Original",
processed: "Processed",