]> _ Git - fluidbook-toolbox.git/commitdiff
wait #7433 @0.25
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Tue, 1 Apr 2025 15:19:49 +0000 (17:19 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Tue, 1 Apr 2025 15:19:49 +0000 (17:19 +0200)
app/Fluidbook/Compiler/Compiler.php

index f9d182881abdcb4aebb2e5a9f0cf52e294cd1102..e63eec057a309a8c7af8606f68f0bb6adb27332e 100644 (file)
@@ -1953,6 +1953,9 @@ class Compiler extends Base implements CompilerInterface, IVirtualDirectoryError
         $this->lessVariables['inlineslideshow-transition-time'] = (floatval($this->fluidbookSettings->inlineSlideshowTransitionDuration) * 1000) . 'ms';
         $this->lessVariables['slideshow-caption-size'] = $this->fluidbookSettings->slideshowCaptionSize ?: '16px';
 
+        // Videos
+        $this->lessVariables['video-object-fit'] = $this->fluidbookSettings->videoObjectFit ?: 'fill';
+
         $res = array_merge($res, $links);
 
         // Bookmarks