Quote:
Originally Posted by atanas
I try something interesting. I try get content of youtube page from other machine and correct function DownloadVideo($youTubeUrl) to:
$file_contents = file_get_contents("http://othersite/youtube.php?video=$youTubeUrl);
and get the content but the script don't work.
Any ideas ?
|
Because my script is running pattern matching that only matches the source of a YouTube.com page.
I have no idea what the source code of
http://othersite/youtube.php is, but it clearly is different from the source of a regular YouTube.com video page.