Don't preload audio attachments.

This commit is contained in:
Matt Haley 2013-06-13 22:46:27 -07:00
parent b684a2e665
commit afd0849e30

View file

@ -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>";