MCPcopy Create free account
hub / github.com/dailydotdev/apps / getVideoMimeType

Function getVideoMimeType

packages/shared/src/lib/video.ts:28–29  ·  view source on GitHub ↗
(url: string)

Source from the content-addressed store, hash-verified

26 !!url && getExtension(url) in videoMimeTypes;
27
28export const getVideoMimeType = (url: string): string | undefined =>
29 videoMimeTypes[getExtension(url)];

Callers 2

imgFunction · 0.90
inlineMarkdownToHtmlFunction · 0.90

Calls 1

getExtensionFunction · 0.85

Tested by

no test coverage detected