]> git.mxchange.org Git - friendica.git/blobdiff - include/bbcode.php
upgrading the photo and name update
[friendica.git] / include / bbcode.php
index f1eb47bd3ddf57a0d46e99fc305c63474a443c1a..1522ea374cf67a3d16236278619181bfc3ec7233 100644 (file)
@@ -76,7 +76,7 @@ function bbcode($Text) {
 
        // Youtube extensions
         $Text = preg_replace("/\[youtube\]http:\/\/www.youtube.com\/watch\?v\=(.+?)\[\/youtube\]/",'[youtube]$1[/youtube]',$Text); 
-       $Text = preg_replace("/\[youtube\](.+?)\[\/youtube\]/", '<object width="425" height="350"><param name="movie" value="http://www.youtube.com/v/$1"></param><embed src="http://www.youtube.com/v/$1" type="application/x-shockwave-flash" width="425" height="350"></embed></object>', $Text);
+       $Text = preg_replace("/\[youtube\](.+?)\[\/youtube\]/", '<object width="425" height="350"><param name="movie" value="http://www.youtube.com/v/$1"></param><!--[if IE]><embed src="http://www.youtube.com/v/$1" type="application/x-shockwave-flash" width="425" height="350" /><![endif]--></object>', $Text);
 
        return $Text;
 }