hello alguien podria convertir esto a asp ??
Código:
<?php
$link="http://www.youtube.com/watch?v=NEafhwWU3Z4";
preg_match("/video_id=\S+&.+&t=.+&f/i", file_get_contents($link), $matches);
$url=get_headers("<A href="http://www.youtube.com/get_video?".$matches[0],1">http://www.youtube.com/get_video?".$matches[0],1);
echo (substr($url['Location'],-4)==".flv") ? $url['Location'] : $url['Location'].".flv";
?>
lo importante es q redirija al subdominio asociado con el video !!!
Gracias