feat: add support for .3gp

This commit is contained in:
codytseng
2025-12-02 13:21:20 +08:00
parent 7cc159f583
commit 77d56265ad

View File

@@ -149,7 +149,8 @@ export function isMedia(url: string) {
'.aac', '.aac',
'.m4a', '.m4a',
'.opus', '.opus',
'.wma' '.wma',
'.3gp'
] ]
return mediaExtensions.some((ext) => new URL(url).pathname.toLowerCase().endsWith(ext)) return mediaExtensions.some((ext) => new URL(url).pathname.toLowerCase().endsWith(ext))
} catch { } catch {