|
|
|
@ -3,13 +3,13 @@ |
|
|
|
<div class="content-block title"> |
|
|
|
<div class="content-block title"> |
|
|
|
{{ content.title }} |
|
|
|
{{ content.title }} |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="iframe__container"> |
|
|
|
<div class="content-block__video iframe__container"> |
|
|
|
{% if 'youtube.com' in content.url or 'youtu.be' in content.url %} |
|
|
|
{% if 'youtube.com' in content.url or 'youtu.be' in content.url %} |
|
|
|
<iframe src="https://www.youtube.com/embed/{{ content.video_index }}" frameborder="0" allow="autoplay; encrypted-media" |
|
|
|
<iframe src="https://www.youtube.com/embed/{{ content.video_index }}" frameborder="0" allow="autoplay; encrypted-media" |
|
|
|
allowfullscreen></iframe> |
|
|
|
allowfullscreen></iframe> |
|
|
|
{% elif 'vimeo.com' in content.url %} |
|
|
|
{% elif 'vimeo.com' in content.url %} |
|
|
|
<iframe src="https://player.vimeo.com/video/{{ content.video_index }}" frameborder="0" webkitallowfullscreen |
|
|
|
<iframe src="https://player.vimeo.com/video/{{ content.video_index }}" frameborder="0" webkitallowfullscreen |
|
|
|
mozallowfullscreen allowfullscreen> |
|
|
|
mozallowfullscreen allowfullscree> |
|
|
|
</iframe> |
|
|
|
</iframe> |
|
|
|
{% endif %} |
|
|
|
{% endif %} |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|