Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorg Ehrke <developer@georgehrke.com>2014-07-30 19:06:41 +0400
committerJan-Christoph Borchardt <hey@jancborchardt.net>2014-07-30 23:12:02 +0400
commit2c192a1b76a3526e9456e3f579dc5ef31f1208f2 (patch)
treef360830d2db6c407a224f21e99b9e58db06aa339 /apps/files_sharing
parentca29c8bab1519951c054cfc29d48e9aebf8857f6 (diff)
don't preload videos on public sharing, fixes #10042
Diffstat (limited to 'apps/files_sharing')
-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 0eb4301b46c..23c63cfa217 100644
--- a/apps/files_sharing/templates/public.php
+++ b/apps/files_sharing/templates/public.php
@@ -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>