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> <figure>
{{ $full := resources.Get (printf "%s/%s" ($.Param "json") .filename) }} {{ $full := resources.Get (printf "%s/%s" ($.Param "json") .filename) }}
<audio controls> <audio controls src="{{ $full.Permalink }}" preload="metadata">
<source src="{{ $full.Permalink }}" type="audio/ogg"> Your browser does not support audio.
</audio> </audio>
<figcaption> <figcaption>