Determine video codecs

This commit is contained in:
Christoph Hagen
2025-08-31 18:04:00 +02:00
parent 96bd07bdb7
commit 9848de02cb
9 changed files with 93 additions and 17 deletions

View File

@@ -30,8 +30,8 @@ struct VideoCommand: CommandProcessor {
}
results.require(file: file)
guard let videoType = file.type.htmlType else {
invalid(markdown)
guard let videoType = file.videoType() else {
invalid("File \(file.identifier) has an unknown video type")
return ""
}