mirror of
https://github.com/snapotter-hq/SnapOtter.git
synced 2026-08-03 07:46:42 +02:00
fix: use processedFileName fallback for non-native format detection after processing
This commit is contained in:
@@ -666,7 +666,7 @@ export function ToolPage() {
|
||||
}
|
||||
// Check if the current file is browser-playable
|
||||
const currentFileName = hasProcessed
|
||||
? (currentEntry?.processedFilename ?? "")
|
||||
? (currentEntry?.processedFilename ?? processedFileName ?? "")
|
||||
: (currentEntry?.file?.name ?? "");
|
||||
const currentExt = currentFileName.split(".").pop()?.toLowerCase() ?? "";
|
||||
const nativeVideoExts = new Set(["mp4", "webm", "ogg", "ogv", "m4v", "mov"]);
|
||||
|
||||
Reference in New Issue
Block a user