mirror of
https://github.com/nextcloud/server.git
synced 2026-04-04 16:45:22 -04:00
Add comment linking to PR
PR contains discussion about the implementation with pros and cons Signed-off-by: Florian Storz <florian.storz@devlix.de>
This commit is contained in:
parent
2b6ff55fa9
commit
6aed80913f
1 changed files with 1 additions and 0 deletions
|
|
@ -64,6 +64,7 @@ $maxUploadFilesize = min($upload_max_filesize, $post_max_size);
|
|||
<?php if ($_['previewEnabled'] && substr($_['mimetype'], 0, strpos($_['mimetype'], '/')) == 'audio'): ?>
|
||||
<div id="imgframe">
|
||||
<audio tabindex="0" controls="" preload="none" style="width: 100%; max-width: <?php p($_['previewMaxX']); ?>px; max-height: <?php p($_['previewMaxY']); ?>px"
|
||||
<?php // See https://github.com/nextcloud/server/pull/27674 ?>
|
||||
<?php if ($_['hideDownload']) { ?>controlsList="nodownload" <?php } ?>>
|
||||
<source src="<?php p($_['downloadURL']); ?>" type="<?php p($_['mimetype']); ?>" />
|
||||
</audio>
|
||||
|
|
|
|||
Loading…
Reference in a new issue