]> source.dussan.org Git - nextcloud-server.git/commitdiff
don't preload videos on public sharing, fixes #10042
authorGeorg Ehrke <developer@georgehrke.com>
Wed, 30 Jul 2014 15:06:41 +0000 (17:06 +0200)
committerJan-Christoph Borchardt <hey@jancborchardt.net>
Wed, 30 Jul 2014 19:12:02 +0000 (21:12 +0200)
apps/files_sharing/templates/public.php

index 0eb4301b46cdf46dd2e9669fca2570236c3a813a..23c63cfa2174f70e6c90477bc970e3470f5383bf 100644 (file)
@@ -34,7 +34,7 @@
                                </div>
                        <?php elseif (substr($_['mimetype'], 0, strpos($_['mimetype'], '/')) == 'video'): ?>
                                <div id="imgframe">
-                                       <video tabindex="0" controls="" autoplay="">
+                                       <video tabindex="0" controls="" preload="none">
                                                <source src="<?php p($_['downloadURL']); ?>" type="<?php p($_['mimetype']); ?>" />
                                        </video>
                                </div>