Add all video versions for video input
This commit is contained in:
@ -3,6 +3,7 @@ import Foundation
|
||||
enum VideoType: String, CaseIterable {
|
||||
case mp4
|
||||
case m4v
|
||||
case webm
|
||||
|
||||
var htmlType: String {
|
||||
switch self {
|
||||
@ -10,6 +11,8 @@ enum VideoType: String, CaseIterable {
|
||||
return "video/mp4"
|
||||
case .m4v:
|
||||
return "video/mp4"
|
||||
case .webm:
|
||||
return "video/webm"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user