2017-01-24 15:29:34 +01:00
|
|
|
{% capture video_id %}{{ include.id }}{% endcapture %}
|
|
|
|
{% capture video_provider %}{{ include.provider }}{% endcapture %}
|
|
|
|
|
|
|
|
<!-- Courtesy of embedresponsively.com //-->
|
|
|
|
<div class="responsive-video-container">
|
|
|
|
{% if video_provider == "vimeo" %}
|
2018-11-21 20:06:26 +01:00
|
|
|
<iframe src="https://player.vimeo.com/video/{{ video_id }}?dnt=true" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe>
|
2017-01-24 15:29:34 +01:00
|
|
|
{% elsif video_provider == "youtube" %}
|
2018-11-21 20:06:26 +01:00
|
|
|
<iframe src="https://www.youtube-nocookie.com/embed/{{ video_id }}" frameborder="0" allowfullscreen></iframe>
|
2017-01-24 15:29:34 +01:00
|
|
|
{% endif %}
|
|
|
|
</div>
|