Add video block

This commit is contained in:
Christoph Hagen
2025-01-06 17:12:38 +01:00
parent 6cf310d849
commit cc19ff4a6f
4 changed files with 140 additions and 1 deletions

View File

@ -7,11 +7,17 @@ enum ContentBlock: String, CaseIterable {
case video
case button
case buttons
var processor: BlockProcessor.Type {
switch self {
case .audio: return AudioBlock.self
case .swift: return SwiftBlock.self
case .video: return VideoBlock.self
case .button: return ButtonBlock.self
case .buttons: return ButtonsBlock.self
}
}
}