-
henrikpp posted on the forum topic Can't post content & embeded media? in the group oEmbed for BuddyPress: 13 years, 5 months ago
i replaced line 38 in bp-oembed.php with
preg_match_all(‘#(?:(?:http?|https?)://+.+|(?:+.)+(?:{2,4})(?:*)?)#i’, $content, $matches);
and that took care of my issue, if someone who knows regex better than I agrees with this, then it would be nice to have that as an option in the config file
-
henrikpp posted on the forum topic Can't post content & embeded media? in the group oEmbed for BuddyPress: 13 years, 5 months ago
i too have this problem, and it happens in both my custom theme and the bp-default 1.2.6 when i type “before http://www.youtube.com/watch?v=COcl6ax38IY after” on a single line, “before” is removed, the video is embedded and the “after” text is placed after the embedded video. (i also tested flickr, and got the same result) has anyone […]
-
henrikpp joined the group oEmbed for BuddyPress 13 years, 5 months ago
@henrikpp
Not recently active