]*videoPlayer.swf#is', $cn, $aima, PREG_SET_ORDER); foreach($aima as $im) { if(!$imlist[$im[2]]++) $ent['v'][] = array($ent['link'].$im[1],$im[2]); } } function xml_extra_video_step2(&$varr, $params) { global $site_url, $lfetch; $purl = parse_url($site_url); if(!$lfetch) $lfetch = new HTTPFetch(); if(preg_match('#settingsFile#',$varr['playerloc'])) { $cl = preg_replace('#/[^/]+$#', '/', $varr['playerloc']) . $varr['vid']; $fc = $lfetch->fetch($cl,0,0,0,'',array('anytype'=>true)); $fc = $fc['content']; $cl = 'http://'.$purl['host'].'/flash/modules/video/files/'; if(preg_match('#