From a4f51d102396ebc0883882dfbcebd9e08f60a7b8 Mon Sep 17 00:00:00 2001 From: Evilham Date: Tue, 14 Mar 2023 10:42:31 +0100 Subject: [PATCH] [NC] Enable video previews as requested by schools --- dd-apps/docker/nextcloud/nc-setup.sh | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/dd-apps/docker/nextcloud/nc-setup.sh b/dd-apps/docker/nextcloud/nc-setup.sh index e5674de..b7095ae 100755 --- a/dd-apps/docker/nextcloud/nc-setup.sh +++ b/dd-apps/docker/nextcloud/nc-setup.sh @@ -51,6 +51,20 @@ cat > "${STATIC_CFG}" < '', 'theme' => 'dd', 'allow_local_remote_servers' => true, + 'enabledPreviewProviders' => [ + 'OC\\Preview\\PNG', + 'OC\\Preview\\JPEG', + 'OC\\Preview\\GIF', + 'OC\\Preview\\BMP', + 'OC\\Preview\\XBitmap', + 'OC\\Preview\\MP3', + 'OC\\Preview\\TXT', + 'OC\\Preview\\MarkDown', + 'OC\\Preview\\OpenDocument', + 'OC\\Preview\\Krita', + 'OC\\Preview\\Movie', + 'OC\\Preview\\MP4', + ], ); EOF