aboutsummaryrefslogtreecommitdiff
path: root/templates/shortcodes/yt.html
blob: 9ee9d1fe93ff4b59477a52e1f282825c3037d00c (plain)
1
2
3
<div style="position:relative;padding-bottom:56.25%;height:0;overflow:hidden;">
	<iframe src="https://www.youtube.com/embed/{{id}}{% if autoplay %}?autoplay=1{% endif %}" title="{{title | default(value="Youtube") }}" style="position:absolute;top:0;left:0;"></iframe>
</div>