{{- $vid := .Get "src" -}} {{- $abs := .Get "abs" | default true -}} {{- $width := .Get "width" | default "w-full" -}} {{- $aspect := .Get "aspect" | default "aspect-video" -}} <div style="display: flex;" class="{{ $width }}"> <iframe class="pt-vid flex-auto {{ $aspect }} {{ $width }}" sandbox="allow-same-origin allow-scripts allow-popups" src="{{ $vid }}?warningTitle=0" frameborder="0" allowfullscreen></iframe> </div>