Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
28
export
const
getVideoMimeType = (url: string): string | undefined =>
29
videoMimeTypes[getExtension(url)];
Callers
2
img
Function · 0.90
inlineMarkdownToHtml
Function · 0.90
Calls
1
getExtension
Function · 0.85
Tested by
no test coverage detected