@(video: lila.video.Video, similar: Seq[lila.video.VideoView], control: lila.video.UserControl)(implicit ctx: Context) @layout( title = s"${video.title} • Free Chess Videos", control = control, openGraph = lila.app.ui.OpenGraph( title = s"${video.title} by ${video.author}", description = shorten(~video.metadata.description, 152), url = s"$netBaseUrl${routes.Video.show(video.id)}", `type` = "video", more = video.tags.map("video:tag" -> _)).some) {
@searchForm(control.query) Video library

@video.title

@video.targets.map(lila.video.Target.name).mkString(", ")
@video.author @video.tags.map { tag => @tag.capitalize } @video.metadata.description.map { desc =>

@richText(desc)

}
@similar.map { vv => @card(vv, control) }
}