diff options
author | root <root@diekershoff.homeunix.net> | 2010-12-12 10:34:34 +0100 |
---|---|---|
committer | root <root@diekershoff.homeunix.net> | 2010-12-12 10:34:34 +0100 |
commit | 2e9dca7c9f0e50956723505ad576bf32e762d11e (patch) | |
tree | dbe956c31285682bc620ccb7c5f03f2e3785c6e7 /include/bbcode.php | |
parent | 037cd5d80993dedfccfe9ef25679c54297ef1546 (diff) | |
parent | a50343830f87966b5857be295633d8dff576931a (diff) | |
download | volse-hubzilla-2e9dca7c9f0e50956723505ad576bf32e762d11e.tar.gz volse-hubzilla-2e9dca7c9f0e50956723505ad576bf32e762d11e.tar.bz2 volse-hubzilla-2e9dca7c9f0e50956723505ad576bf32e762d11e.zip |
Merge branch 'master' of git://github.com/friendika/friendika
Diffstat (limited to 'include/bbcode.php')
-rw-r--r-- | include/bbcode.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/bbcode.php b/include/bbcode.php index fbae7bc32..351510f6d 100644 --- a/include/bbcode.php +++ b/include/bbcode.php @@ -80,7 +80,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><!--[if IE]><embed src="http://www.youtube.com/v/$1" type="application/x-shockwave-flash" width="425" height="350" /><![endif]--></object>', $Text); + $Text = preg_replace("/\[youtube\](.+?)\[\/youtube\]/", '<object width="425" height="350" type="application/x-shockwave-flash" data="http://www.youtube.com/v/$1" ><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; } |