}}
    {{ $params = $params | append (printf "texttrack=%v" .) }}
{{ end }}

{{ with $time }}
    {{ $params = $params | append (printf "#t=%v" .) }}
{{ end }}

{{ if and (ne $title nil) (ne $title "") }}
    {{ $params = $params | append (printf "title=%v" (cond $title 1 0)) }}
{{ end }}

{{ if not $transparent }}
    {{ $params = $params | append "transparent=0" }}
{{ end }}

{{ $params = delimit (sort $params) "&" }}

{{ $src := print "https://player.vimeo.com/video/" $video }}

{{ with $params }}
    {{