mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-08 04:18:52 +00:00
[ticket/14771] Set preload to metadata to display length of audio
PHPBB3-14771
This commit is contained in:
parent
cf6d6d3445
commit
a72ce76fad
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@
|
|||
{% if _file.COMMENT %}<dd><em>{{ _file.COMMENT }}</em></dd>{% endif %}
|
||||
<dd>{{ _file.DOWNLOAD_NAME }} ({{ _file.FILESIZE }} {{ _file.SIZE_LANG }}) {{ _file.L_DOWNLOAD_COUNT }}</dd>
|
||||
<dd>
|
||||
<audio class="file-audio-controls" controls="controls" preload="none">
|
||||
<audio class="file-audio-controls" controls="controls" preload="metadata">
|
||||
<source src="{{ _file.U_DOWNLOAD_LINK }}" type="{{ _file.MIMETYPE }}">
|
||||
</audio>
|
||||
</dd>
|
||||
|
|
Loading…
Add table
Reference in a new issue