Как настроить вывод видео из rutube через bb коды dle 9.4?
все на месте parse.class.php
Code
if ($source['host'] != "youtube.com" AND $source['host'] != "rutube.ru" AND $source['host'] != "vimeo.com" AND $source['host'] != "video.mail.ru" AND $source['host'] != "smotri.com" AND $source['host'] != "gametrailers.com") return "[media=".$url."]";
if ($source['host'] == "youtube.com" OR $source['host'] == "rutube.ru") {
Code
} else
return '<!--dle_media_begin:'.$decode_url.'--><OBJECT width="'.$width.'" height="'.$height.'"><PARAM name="movie" value="http://video.rutube.ru/'.$video_link.'"></PARAM><param name="wmode" value="transparent" /></PARAM><PARAM name="allowFullScreen" value="true"></PARAM><EMBED src="http://video.rutube.ru/'.$video_link.'" type="application/x-shockwave-flash" wmode="transparent" width="'.$width.'" height="'.$height.'" allowFullScreen="true" ></EMBED></OBJECT><!--dle_media_end-->';
}