feat: add support for .3gp
This commit is contained in:
parent
7cc159f583
commit
77d56265ad
1 changed files with 2 additions and 1 deletions
|
|
@ -149,7 +149,8 @@ export function isMedia(url: string) {
|
|||
'.aac',
|
||||
'.m4a',
|
||||
'.opus',
|
||||
'.wma'
|
||||
'.wma',
|
||||
'.3gp'
|
||||
]
|
||||
return mediaExtensions.some((ext) => new URL(url).pathname.toLowerCase().endsWith(ext))
|
||||
} catch {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue