Extract a video embed partial

This commit is contained in:
Oliver Davies 2019-05-30 23:29:42 +01:00
parent dbf7285181
commit bab8565ada
2 changed files with 19 additions and 4 deletions

View file

@ -0,0 +1,9 @@
<div class="{{ classes }}">
<iframe
src="https://www.youtube.com/embed/{{ video.id }}"
height="{{ video.attr.height }}"
width="{{ video.attr.width }}"
frameborder="0"
allowfullscreen
></iframe>
</div>