render webm links as inline videos (#410)

This commit is contained in:
Sam Samskies 2023-03-08 07:25:41 -10:00 committed by GitHub
parent 7d34bb2214
commit 093ea8205b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -90,7 +90,8 @@ export default function HyperText({ link, creator }: { link: string; creator: He
case "mov":
case "mkv":
case "avi":
case "m4v": {
case "m4v":
case "webm": {
return <video key={url.toString()} src={url.toString()} controls />;
}
default: