/* Handle the high quality format information */
if(preg_match("/fmt=(\d+)/",$extra_params,$matches)) {
$extra_params="&ap=%2526fmt%3D".$matches[1];
/* Handle the high quality format information */
if(preg_match("/fmt=(\d+)/",$extra_params,$matches)) {
$extra_params="&ap=%2526fmt%3D".$matches[1];
if(!strcmp($debugOutput,"true")) {
print "\n<h2>Youtube URL Parsing Results</h2>";
if(!strcmp($debugOutput,"true")) {
print "\n<h2>Youtube URL Parsing Results</h2>";