From 2385b1a2926d1344569836e18cb30adb4c604664 Mon Sep 17 00:00:00 2001 From: Yassine Doghri <yassine@doghri.fr> Date: Fri, 21 Jan 2022 15:24:17 +0000 Subject: [PATCH] fix(video-clips): tweak portrait parameters to have subtitles display without overflowing --- app/Libraries/MediaClipper/Config/MediaClipper.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/Libraries/MediaClipper/Config/MediaClipper.php b/app/Libraries/MediaClipper/Config/MediaClipper.php index a0df0da968..a1223cc4d9 100644 --- a/app/Libraries/MediaClipper/Config/MediaClipper.php +++ b/app/Libraries/MediaClipper/Config/MediaClipper.php @@ -100,7 +100,7 @@ class MediaClipper extends BaseConfig 'quotes' => [ 'width' => 256, 'height' => 256, - 'x' => 75, + 'x' => 40, 'y' => 520, ], 'podcastTitle' => [ @@ -148,9 +148,9 @@ class MediaClipper extends BaseConfig 'mask' => APPPATH . 'Libraries/MediaClipper/soundwaves-mask-portrait.png', ], 'subtitles' => [ - 'fontsize' => 18, - 'marginL' => 60, - 'marginR' => 20, + 'fontsize' => 16, + 'marginL' => 40, + 'marginR' => 25, 'marginV' => 97, ], ], -- GitLab