在php中使用curl时,视频无法播放

For some reason that I don't understand, video websites do not play when using something like this

curl_setopt ($curl, CURLOPT_URL, "http://www.dailymotion.com/video/xn8oqe" );
curl_setopt ($curl, CURLOPT_RETURNTRANSFER, 1 );
curl_setopt ($curl, CURLOPT_USERAGENT, 'Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)' );
curl_setopt ($curl, CURLOPT_BINARYTRANSFER, TRUE );
curl_setopt ($curl, CURLOPT_RETURNTRANSFER, true);
    curl_setopt($curl, CURLOPT_FOLLOWLOCATION, true);

can someone please help me understand what needs to be done to have my web server play the video? it seems to load the web-page fine, but the video itself does not play

You can not pull a video like that from dailymotion .. The real URL of the video you are about to pull is

http://proxy-42.dailymotion.com/video/074/630/39036470_mp4_h264_aac_hq.mp4?auth=1332377638.11e883c25f004857366fde2e6f9ba4cb&helper=1

Its using an embedded player ... make surre you ready copyright information before you go further

:)