]> _ Git - fluidbook-toolbox.git/commitdiff
wip #7434 @0.5
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Thu, 3 Apr 2025 10:25:32 +0000 (12:25 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Thu, 3 Apr 2025 10:25:32 +0000 (12:25 +0200)
app/Models/Traits/PublicationSettings.php

index bdbaa0ae934d76764a67d08578f6bf7a681568c5..681511ef4f1e8039110e23ddb57ebdb9b79d3238 100644 (file)
@@ -1149,6 +1149,7 @@ trait PublicationSettings
             ],
             'default' => 'splide',
         ]);
+        $this->addSettingField('slideshowControlsSize', SelectFromArray::class, $this->__('Taille des contrôles du slideshow'), ['options' => ['default' => $this->__('Normale'), 'big' => $this->__('Grande')], 'default' => 'default', 'when' => ['popupSlideshowLibrary' => 'vacheron', 'inlineSlideshowLibrary' => ['values' => ['vacheron'], 'operator' => '=', 'logical_operator' => 'OR']]]);
         $this->addSettingField('', FormSeparator::class);
         $this->addSettingField('slideshowCaptionSize', LongText::class, $this->__('Taille de police de la légende du diaporama'), [
             'hint' => $this->__('Laisser vide pour utiliser la valeur par défaut'),
@@ -1171,7 +1172,7 @@ trait PublicationSettings
         $this->addSettingField('webvideoAsLocal', Hidden::class, $this->__('Intégrer les webvidéos en local'), [
             'default' => false,
         ]);
-        $this->addSettingField('videoObjectFit', SelectFromArray::class, $this->__('Affichage des vidéos inline'), ['default' => 'fill','hint'=>'<a target="_blank" href="https://developer.mozilla.org/fr-FR/docs/Web/CSS/object-fit">https://developer.mozilla.org/fr-FR/docs/Web/CSS/object-fit</a>
+        $this->addSettingField('videoObjectFit', SelectFromArray::class, $this->__('Affichage des vidéos inline'), ['default' => 'fill', 'hint' => '<a target="_blank" href="https://developer.mozilla.org/fr-FR/docs/Web/CSS/object-fit">https://developer.mozilla.org/fr-FR/docs/Web/CSS/object-fit</a>
 ', 'options' => [
             'fill' => $this->__('Etirer la vidéo pour qu\'elle occupe l\'espace disponible') . ' (fill)',
             'contain' => $this->__('Afficher la vidéo en respectant son ratio mais sans la recadrer') . ' (contain)',