Skip to content

Commit 32600ea

Browse files
authored
Update video.html
1 parent cc3d03d commit 32600ea

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

templates/macros/video.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ <h2><i class="fa fa-video-camera" aria-hidden="true"></i> {{ video.title }}</h2>
1414
{% endmacro %}
1515

1616
{% macro render_video(video) %}
17-
{% if video.embeddable is false %}
18-
<p><a href="{{ video.url }}"><i class="fa fa-link" aria-hidden="true"></i>{{ video.title }}</a></p>
19-
{% else %}
17+
{% if video.embeddable %}
2018
<iframe class="video" src="{{ video.url }}" frameborder="0" allowfullscreen></iframe>
19+
{% else %}
20+
<p><a href="{{ video.url }}"><i class="fa fa-link" aria-hidden="true"></i>{{ video.title }}</a></p>
2121
{% endif %}
2222
{{ video.description }}
2323
{% endmacro %}

0 commit comments

Comments
 (0)