feat: Added audio player to podcast cards.
This commit is contained in:
parent
6d3c36e36d
commit
605e1767e9
@ -62,6 +62,17 @@
|
||||
<div>
|
||||
<p>{{ episode.podcast_teaser }}</p>
|
||||
</div>
|
||||
<div class="pod_ctrl_box">
|
||||
<audio controls class="pod_ctrl_box__audio_controls">
|
||||
{% if episode.podcastogg -%}
|
||||
<source src="{{ episode|url(alt='de')}}{{ episode.podcastogg }}" type="audio/ogg">
|
||||
{%- endif %}
|
||||
{% if episode.podcastmp3 -%}
|
||||
<source src="{{ episode|url(alt='de') }}{{ episode.podcastmp3 }}" type="audio/mpeg">
|
||||
{%- endif %}
|
||||
Your browser does not support the audio element.
|
||||
</audio>
|
||||
</div>
|
||||
<div class="card__link">
|
||||
<p><a href="{{ episode.path|url }}">Zur Episode mit Shownotes …</a></a></p>
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user