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',
|
'.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 {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue