From 11b2e98a30da1cc97d82739600da53fcef765c3f Mon Sep 17 00:00:00 2001 From: Piotr Filiciak Date: Tue, 24 May 2016 12:34:37 +0200 Subject: video poster --- apps/files_sharing/lib/controllers/sharecontroller.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'apps/files_sharing/lib/controllers/sharecontroller.php') diff --git a/apps/files_sharing/lib/controllers/sharecontroller.php b/apps/files_sharing/lib/controllers/sharecontroller.php index 72294f6b26f..de7e7dd7b0c 100644 --- a/apps/files_sharing/lib/controllers/sharecontroller.php +++ b/apps/files_sharing/lib/controllers/sharecontroller.php @@ -347,6 +347,8 @@ class ShareController extends Controller { $shareTmpl['downloadURL'] = $this->urlGenerator->linkToRouteAbsolute('files_sharing.sharecontroller.downloadShare', array('token' => $token)); $shareTmpl['maxSizeAnimateGif'] = $this->config->getSystemValue('max_filesize_animated_gifs_public_sharing', 10); $shareTmpl['previewEnabled'] = $this->config->getSystemValue('enable_previews', true); + $shareTmpl['previewMaxX'] = $this->config->getSystemValue('preview_max_x', 1024); + $shareTmpl['previewMaxY'] = $this->config->getSystemValue('preview_max_y', 1024); $csp = new OCP\AppFramework\Http\ContentSecurityPolicy(); $csp->addAllowedFrameDomain('\'self\''); -- cgit v1.2.3