Preload audio metadata

This commit is contained in:
Joshua Goins 2022-08-24 10:28:56 -04:00
parent 7e8aae14dc
commit 2c82ef175e

View file

@ -16,8 +16,8 @@
<figure>
{{ $full := resources.Get (printf "%s/%s" ($.Param "json") .filename) }}
<audio controls>
<source src="{{ $full.Permalink }}" type="audio/ogg">
<audio controls src="{{ $full.Permalink }}" preload="metadata">
Your browser does not support audio.
</audio>
<figcaption>