been trying to add another video website to my embed_video function,
added this piece of code to "function.embedvideos.php":
PHP Code:
//code to replace <flix> tags with
$FlixCode = '<object width="458" height="384"><param name="movie" value="http://www.flix.co.il/tapuz/showVideo.asp?m=$1"><param name="allowScriptAccess" value="always"><embed src="http://www.flix.co.il/tapuz/showVideo.asp?m=$1" type="application/x-shockwave-flash" width="458" height="384" allowScriptAccess="always"></embed></object>'.$post_video_html;
//replace
$displayed_story = preg_replace("/\<flix\>(.+?)\<\/flix\>/is", $FlixCode, $displayed_story);
any ideas??
thanks,
amit




Linear Mode

