Commit d3da0a26 authored by gijs's avatar gijs
Browse files

Added title in video and audio template.

parent 315be099
<section class="audio">
{% if audio.title.value %}
<h3>{{ audio.title }}</h3>
{% endif %}
<audio controls>
<source src="{{ }}" type="{% if audio.type.value %}{{ audio.type }}{% else %}audio/mpeg{% endif %}">
<section class="video">
{% if video.title.value %}
<h3>{{ video.title }}</h3>
{% endif %}
{% if video.vimeoId %}
<div style="padding:60% 0 0 0;position:relative;">
<iframe src="{{ video.vimeoId }}?color=ffffff&title=0&byline=0&portrait=0" style="position:absolute;top:0;left:0;width:100%;height:100%;" frameborder="0" allow="autoplay; fullscreen" allowfullscreen></iframe>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment