render webm links as inline videos (#410)
This commit is contained in:
parent
7d34bb2214
commit
093ea8205b
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user