aboutsummaryrefslogtreecommitdiff
path: root/templates/shortcodes/yt.html
blob: 7816bd8f7c51c925506c4fd23dde4782aa6d9043 (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 %}" style="position:absolute;top:0;left:0;"></iframe>
</div>