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

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

@ -3036,7 +3036,7 @@
if ($_SESSION["hasAudio"] && (strpos($ctype, "ogg") !== false ||
$_SESSION["hasMp3"])) {
$entry .= "<audio controls>
$entry .= "<audio preload=\"none\" controls>
<source type=\"$ctype\" src=\"$url\"></source>
</audio>";

Loading…
Cancel
Save