]> git.wh0rd.org Git - tt-rss.git/commitdiff
Don't preload audio attachments.
authorMatt Haley <matt.haley@gmail.com>
Fri, 14 Jun 2013 05:46:27 +0000 (22:46 -0700)
committerMatt Haley <matt.haley@gmail.com>
Fri, 14 Jun 2013 05:49:31 +0000 (22:49 -0700)
include/functions.php

index 344d66ae1d6843445a763d69ba80430252ee0c57..69be5cf3f0d392fc99b64291f3c8408cda144560 100644 (file)
                        if ($_SESSION["hasAudio"] && (strpos($ctype, "ogg") !== false ||
                                $_SESSION["hasMp3"])) {
 
-                               $entry .= "<audio controls>
+                               $entry .= "<audio preload=\"none\" controls>
                                        <source type=\"$ctype\" src=\"$url\"></source>
                                        </audio>";