summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing
diff options
context:
space:
mode:
authorFlorian Storz <fstorz@users.noreply.github.com>2021-07-19 16:48:37 +0200
committerbackportbot[bot] <backportbot[bot]@users.noreply.github.com>2021-07-21 17:46:02 +0000
commitfd20c27501d68dc092c87eb9c110017995a5a1f1 (patch)
tree7db8b5a48147770c829f4c633d391c63fc2f5f41 /apps/files_sharing
parente2615cc7efb84c5e673b977cf00b26f5e03fe330 (diff)
downloadnextcloud-server-fd20c27501d68dc092c87eb9c110017995a5a1f1.tar.gz
nextcloud-server-fd20c27501d68dc092c87eb9c110017995a5a1f1.zip
Add comment linking to PR
PR contains discussion about the implementation with pros and cons Signed-off-by: Florian Storz <florian.storz@devlix.de>
Diffstat (limited to 'apps/files_sharing')
-rw-r--r--apps/files_sharing/templates/public.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/files_sharing/templates/public.php b/apps/files_sharing/templates/public.php
index c17734e46c1..c663e4b811f 100644
--- a/apps/files_sharing/templates/public.php
+++ b/apps/files_sharing/templates/public.php
@@ -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>