summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorGeorg Ehrke <developer@georgehrke.com>2014-07-30 17:06:41 +0200
committerGeorg Ehrke <developer@georgehrke.com>2014-07-30 17:06:41 +0200
commit3d0bcb7c4698c75a1da110b779c663a75149d32d (patch)
tree9196b90cf5968c15aded35cc657aadf5453e7ee5 /apps
parentdd9347fdd2b1f516ee71d3fb9bbc391541a6d5dc (diff)
downloadnextcloud-server-3d0bcb7c4698c75a1da110b779c663a75149d32d.tar.gz
nextcloud-server-3d0bcb7c4698c75a1da110b779c663a75149d32d.zip
don't preload videos on public sharing, fixes #10042
Diffstat (limited to 'apps')
-rw-r--r--apps/files_sharing/templates/public.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_sharing/templates/public.php b/apps/files_sharing/templates/public.php
index 386fa7e17cd..8406b79cf1a 100644
--- a/apps/files_sharing/templates/public.php
+++ b/apps/files_sharing/templates/public.php
@@ -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>