]> _ Git - fluidbook_tools.git/commitdiff
wait #7900 @0.5
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Mon, 15 Dec 2025 17:43:31 +0000 (18:43 +0100)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Mon, 15 Dec 2025 17:43:31 +0000 (18:43 +0100)
src/Links/Link.php
src/Links/VideoLink.php

index ae805bfdd3b4cd1ff58193a3182e426f08bb69b9..53195058697e5d835bddd13f8f883269a9ba9048 100644 (file)
@@ -134,6 +134,7 @@ class Link
     public $tooltipColor = null;
     public $tooltipBackgroundColor = null;
     public $transformOrigin;
+    public $borderRadius = 0;
     public $transition;
     public $polygon = '';
     public $cursor = '';
index bb6d58a0e1e5f3dc614cc5591bd58adc9822ff79..dfe9785f5a79ac26ad6ab74da009a1a6a733234f 100644 (file)
@@ -52,6 +52,7 @@ class VideoLink extends Link
         static::addVideoJS($compiler);
 
         $attributes = static::getVideoAttributes($linkDatas, $w, $h, $compiler);
+        $attributes['borderradius'] = $linkDatas->borderRadius;
         $linkDatas->backgroundColor = $attributes['backgroundcolor'];
 
         $res = '<div class="videoContainer integration-' . $linkDatas->inline . '"';