feat: add support for .3gp
This commit is contained in:
@@ -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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user