]> git.mxchange.org Git - friendica.git/commitdiff
Forgotten variable
authorMichael <heluecht@pirati.ca>
Sun, 25 Jul 2021 20:39:03 +0000 (20:39 +0000)
committerMichael <heluecht@pirati.ca>
Sun, 25 Jul 2021 20:39:03 +0000 (20:39 +0000)
src/Content/Text/BBCode.php

index a4502b646047f335949ac2b35495402cb02fc4d3..2f19a0101f69a4e78d2f48b85b71ae99c13346e6 100644 (file)
@@ -1744,7 +1744,7 @@ class BBCode
                                $text = preg_replace("/\[vimeo\]https?:\/\/vimeo.com\/([0-9]+)(.*?)\[\/vimeo\]/ism", '[vimeo]$1[/vimeo]', $text);
 
                                if ($try_oembed) {
-                                       $text = preg_replace("/\[vimeo\]([0-9]+)(.*?)\[\/vimeo\]/ism", '<iframe width="' . $a->getThemeInfoValue('videowidth') . '" height="' . $a->videoheight . '" src="https://player.vimeo.com/video/$1" frameborder="0" ></iframe>', $text);
+                                       $text = preg_replace("/\[vimeo\]([0-9]+)(.*?)\[\/vimeo\]/ism", '<iframe width="' . $a->getThemeInfoValue('videowidth') . '" height="' . $a->getThemeInfoValue('videoheight') . '" src="https://player.vimeo.com/video/$1" frameborder="0" ></iframe>', $text);
                                } else {
                                        $text = preg_replace("/\[vimeo\]([0-9]+)(.*?)\[\/vimeo\]/ism",
                                                '<a href="https://vimeo.com/$1" target="_blank" rel="noopener noreferrer">https://vimeo.com/$1</a>', $text);