Merge pull request #226 from mhaley/patches-no-preload

Don't preload audio attachments.
master
Andrew Dolgov 12 years ago
commit 30d2d8a6ef

@ -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…
Cancel
Save