Extract a video embed partial
This commit is contained in:
parent
dbf7285181
commit
bab8565ada
2 changed files with 19 additions and 4 deletions
9
source/_partials/video-embed.html.twig
Normal file
9
source/_partials/video-embed.html.twig
Normal 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>
|
Loading…
Add table
Add a link
Reference in a new issue