[Pkg-owncloud-commits] [owncloud] 49/70: don't preload videos on public sharing, fixes #10042
David Prévot
taffit at moszumanska.debian.org
Thu Aug 21 17:40:10 UTC 2014
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to annotated tag v6.0.5RC1
in repository owncloud.
commit 2c192a1b76a3526e9456e3f579dc5ef31f1208f2
Author: Georg Ehrke <developer at georgehrke.com>
Date: Wed Jul 30 17:06:41 2014 +0200
don't preload videos on public sharing, fixes #10042
---
apps/files_sharing/templates/public.php | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/apps/files_sharing/templates/public.php b/apps/files_sharing/templates/public.php
index 0eb4301..23c63cf 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>
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git
More information about the Pkg-owncloud-commits
mailing list