Merge pull request #10054 from owncloud/dont_preload_videos

don't preload videos on public sharing, fixes #10042
This commit is contained in:
Jan-Christoph Borchardt 2014-07-30 21:10:57 +02:00
commit 8389ff5875
1 changed files with 1 additions and 1 deletions

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