Omphaloskepsis-2/layouts/partials/media/audio.html.tmpl

12 lines
384 B
Cheetah
Raw Normal View History

2024-04-02 19:36:21 +00:00
<!--
Render an audio track in an interactive player.
@params context The audio media file.
-->
{{- $src := . -}}
<audio class="u-audio figure__audio" itemprop="audio" controls>
<source src="{{ $src.RelPermalink }}" type="{{ $src.MediaType }}" />
<p>Your browser doesn't support embedded audio, <a href="{{ $src.RelPermalink }}">view the audio here</a>.</p>
</audio>