Download Video

{{.Meta.Title}}

{{.Url}}

Download Another Video
{{$root := .}} {{range $vidIndex, $video := .Videos}} {{if not (eq $vidIndex 0)}}
{{end}}
{{.Meta.Title}}
{{range $index, $format := $video.Formats}} {{template "format" (map "root" $root "format" $format "label" $format.Format "vidIndex" $vidIndex)}} {{end}}
{{if gt (len $video.OtherFormats) 0}}
{{range $index, $format := $video.OtherFormats}} {{$label := sprintf "ext: %s, resolution: %s, filesize: %s, note: %s" $format.Ext $format.Resolution (filesize $format.Filesize) $format.FormatNote}} {{template "format" (map "root" $root "format" $format "label" $label "vidIndex" $vidIndex)}} {{end}}
{{end}} {{end}} {{define "format"}}
{{.label}}
Download (direct) Download (proxied)
{{end}}