Use oembed for bookmark, audio, video, youtube

This commit is contained in:
Fabio Comuni 2011-10-24 14:30:11 +02:00
parent 306036c626
commit a9fb8e4d60
2 changed files with 36 additions and 6 deletions

View file

@ -338,7 +338,6 @@ function item_post(&$a) {
$bookmark = 0;
if(preg_match_all("/\[bookmark\=([^\]]*)\](.*?)\[\/bookmark\]/ism",$body,$match)) {
$bookmark = 1;
$body = preg_replace("/\[bookmark\=([^\]]*)\](.*?)\[\/bookmark\]/ism",'[url=$1]$2[/url]',$body);
}