Merge pull request #10054 from owncloud/dont_preload_videos
don't preload videos on public sharing, fixes #10042
This commit is contained in:
commit
8389ff5875
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@
|
||||||
</div>
|
</div>
|
||||||
<?php elseif (substr($_['mimetype'], 0, strpos($_['mimetype'], '/')) == 'video'): ?>
|
<?php elseif (substr($_['mimetype'], 0, strpos($_['mimetype'], '/')) == 'video'): ?>
|
||||||
<div id="imgframe">
|
<div id="imgframe">
|
||||||
<video tabindex="0" controls="" autoplay="">
|
<video tabindex="0" controls="" preload="none">
|
||||||
<source src="<?php p($_['downloadURL']); ?>" type="<?php p($_['mimetype']); ?>" />
|
<source src="<?php p($_['downloadURL']); ?>" type="<?php p($_['mimetype']); ?>" />
|
||||||
</video>
|
</video>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue