function legacy_hook($content)
 {
     $regex = '/\\[FLOWPLAYER=([a-z0-9\\:\\.\\-\\&\\_\\/\\|]+)\\,([0-9]+)\\,([0-9]+)\\]/i';
     $matches = array();
     preg_match_all($regex, $content, $matches);
     if ($matches[0][0] != '') {
         foreach ($matches[0] as $key => $data) {
             $content = str_replace($matches[0][$key], flowplayer::build_player($matches[2][$key], $matches[3][$key], $matches[1][$key]), $content);
         }
     }
     return $content;
 }