summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2013-06-16 22:43:23 -0700
committerAndrew Dolgov <[email protected]>2013-06-16 22:43:23 -0700
commit30d2d8a6ef440826b1434d67d6a58bb3c11b5f98 (patch)
tree127e8a72ea94d973a04a001af58dcf4b5859e33d /include
parente0345afdf09f9df8182e7e0fd10893db494a1cbb (diff)
parentafd0849e30f5ed7a21376cb26ca851f29cfe07c7 (diff)
Merge pull request #226 from mhaley/patches-no-preload
Don't preload audio attachments.
Diffstat (limited to 'include')
-rw-r--r--include/functions.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/functions.php b/include/functions.php
index 344d66ae1..69be5cf3f 100644
--- a/include/functions.php
+++ b/include/functions.php
@@ -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>";