]> source.dussan.org Git - nextcloud-server.git/commitdiff
Add comment linking to PR
authorFlorian Storz <fstorz@users.noreply.github.com>
Mon, 19 Jul 2021 14:48:37 +0000 (16:48 +0200)
committerFlorian Storz <florian.storz@devlix.de>
Mon, 19 Jul 2021 16:55:57 +0000 (18:55 +0200)
PR contains discussion about the implementation with pros and cons

Signed-off-by: Florian Storz <florian.storz@devlix.de>
apps/files_sharing/templates/public.php

index c17734e46c1e02cdd2e8f58803f8ba5c884196bb..c663e4b811fb31521260ad9b0cb84dc3b3b945b6 100644 (file)
@@ -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>