iaId $args.id -}}
{{ if not $id }}
    {{- errorf "partial [assets/video.html] - Missing media ID" -}}
    {{ $error = true }}
{{ end }}

{{ if and (eq $provider "youtube") ($pc.Disable) }}
    {{- errorf "partial [assets/video.html] - YouTube video disabled in site's privacy settings" -}}
    {{ $error = true }}
{{ else if and (eq $provider "vimeo") ($pc.Disable) }}
    {{- errorf "partial [assets/video.html] - Vimeo video disabled in site's privacy settings" -}}
    {{ $error = true }}
{{ end }}

{{ $quer