From: Vincent Vanwaelscappel Date: Fri, 17 Dec 2021 09:27:03 +0000 (+0100) Subject: wip #4962 @0.5 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=9363fa11509e8244eef48c34f1065cf7c290a5e1;p=fluidbook-toolbox.git wip #4962 @0.5 --- diff --git a/app/Models/FluidbookTheme.php b/app/Models/FluidbookTheme.php index 3dee27ec9..f450f0009 100644 --- a/app/Models/FluidbookTheme.php +++ b/app/Models/FluidbookTheme.php @@ -611,6 +611,16 @@ class FluidbookTheme extends CubistMagicAbstractModel 'allows_alpha' => true, 'translatable' => false, ]); + + $this->addField([ + 'name' => 'section_audioplayer', + 'type' => 'FormSection', + 'label' => __('Player audio'), + ]); + + $this->addField('audioplayerBackgroundColor', 'Color', __('Couleur de fond'), ['allows_empty' => true]); + $this->addField('audioplayerStrokeColor', 'Color', __('Couleur de la ligne de progression'), ['allows_empty' => true]); + $this->addField('audioplayerIconColor', 'Color', __('Couleur des icônes'), ['default' => '#ffffff']); } public function addFile($fieldname, $path)