Skip to content
Snippets Groups Projects
Commit 8389ff58 authored by Jan-Christoph Borchardt's avatar Jan-Christoph Borchardt
Browse files

Merge pull request #10054 from owncloud/dont_preload_videos

don't preload videos on public sharing, fixes #10042
parents 5b11a18d 3d0bcb7c
Branches
No related tags found
No related merge requests found
......@@ -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>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment