{{   $src := .Param "video_url"
}}{{ $width := .Param "video_width" | default (.Param "odyseeVideoWidthPercentage")
}}{{ $url := .Param "video_page"
}}
<p><a href="{{ $url }}" target="_blank" rel="noopener noreferrer">{{ $url | markdownify }}</a></p>

<iframe
   id="odysee-iframe"
   style="width:{{ $width }}%; aspect-ratio:16 / 9;"
   src="{{ $src }}"
   allowfullscreen>
</iframe>
<br/>

{{ with .Params.video_desc }}
   {{ range . -}}
      <p>
         {{ . | markdownify }}
      </p>
   {{ end }}
{{ end }}
