We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cc3d03d commit 32600eaCopy full SHA for 32600ea
1 file changed
templates/macros/video.html
@@ -14,10 +14,10 @@ <h2><i class="fa fa-video-camera" aria-hidden="true"></i> {{ video.title }}</h2>
14
{% endmacro %}
15
16
{% 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 %}
+ {% if video.embeddable %}
20
<iframe class="video" src="{{ video.url }}" frameborder="0" allowfullscreen></iframe>
+ {% else %}
+ <p><a href="{{ video.url }}"><i class="fa fa-link" aria-hidden="true"></i>{{ video.title }}</a></p>
21
{% endif %}
22
{{ video.description }}
23
0 commit comments