struct PostVideo: HtmlProducer { struct Video { let path: String let type: String } let videos: [Video] func populate(_ result: inout String) { result += "" result += "Video not supported." for video in videos { result += "" } result += "" } }