[Pkg-owncloud-commits] [owncloud] 48/61: don't preload videos on public sharing, fixes #10042

David Prévot taffit at moszumanska.debian.org
Thu Jul 31 03:51:47 UTC 2014


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository owncloud.

commit 24c8774b7ff448c12f6514933b86ebfbc2019440
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 386fa7e..8406b79 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>

-- 
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