]> 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)
committerGeorg Ehrke <developer@georgehrke.com>
Wed, 30 Jul 2014 15:06:41 +0000 (17:06 +0200)
apps/files_sharing/templates/public.php

index 386fa7e17cd1fb3a46de1fae21389ed8c290b090..8406b79cf1a275631c0ae89f404509905ba167b9 100644 (file)
@@ -42,7 +42,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>