mirror of
https://github.com/hacks-guide/Guide_WiiU-OLD.git
synced 2024-11-27 03:10:29 +00:00
12 lines
551 B
Plaintext
12 lines
551 B
Plaintext
{% 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" %}
|
|
<iframe src="https://player.vimeo.com/video/{{ video_id }}" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe>
|
|
{% elsif video_provider == "youtube" %}
|
|
<iframe src="https://www.youtube.com/embed/{{ video_id }}" frameborder="0" allowfullscreen></iframe>
|
|
{% endif %}
|
|
</div>
|