aboutsummaryrefslogtreecommitdiffstats
path: root/include/bbcode.php
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2010-12-09 13:41:08 -0800
committerFriendika <info@friendika.com>2010-12-09 13:41:08 -0800
commitb7abdf8795de0ad36a2cb99d4fc40ab60f50f038 (patch)
treebd5e225f690e973118475363ea7ba45a5a69a7df /include/bbcode.php
parent03c1e5a5ad764d5cfaa03fffdc9e80222f70088e (diff)
downloadvolse-hubzilla-b7abdf8795de0ad36a2cb99d4fc40ab60f50f038.tar.gz
volse-hubzilla-b7abdf8795de0ad36a2cb99d4fc40ab60f50f038.tar.bz2
volse-hubzilla-b7abdf8795de0ad36a2cb99d4fc40ab60f50f038.zip
fix youtube videos on FF
Diffstat (limited to 'include/bbcode.php')
-rw-r--r--include/bbcode.php2
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;
}