Don't preload audio attachments.
This commit is contained in:
parent
b684a2e665
commit
afd0849e30
1 changed files with 1 additions and 1 deletions
|
@ -3036,7 +3036,7 @@
|
||||||
if ($_SESSION["hasAudio"] && (strpos($ctype, "ogg") !== false ||
|
if ($_SESSION["hasAudio"] && (strpos($ctype, "ogg") !== false ||
|
||||||
$_SESSION["hasMp3"])) {
|
$_SESSION["hasMp3"])) {
|
||||||
|
|
||||||
$entry .= "<audio controls>
|
$entry .= "<audio preload=\"none\" controls>
|
||||||
<source type=\"$ctype\" src=\"$url\"></source>
|
<source type=\"$ctype\" src=\"$url\"></source>
|
||||||
</audio>";
|
</audio>";
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue