"http://youtube.com/get_video_info?video_id=".$id 

Sometimes the answer gives an error 105 and it is written from some partner and he forbade viewing it on other sites. Not sure how to get around this?

For example, this video has http://youtube.com/get_video_info?video_id=IN12-xVLt7M . Here is the server response:

status=fail&errorcode=150&reason=Это видео содержит контент от партнера X Media Digital. На некоторых веб-сайтах его просмотр ограничен. <br/> <u> <a href='http://www.youtube.com/watch?v=IN12-xVLt7M&feature=player_embedded' target='_blank'>Просмотр на YouTube</a> </u>

    1 answer 1

     $url = 'http://www.youtube.com/get_video_info?video_id='.$id.'&asv=3&eurl=http://vkontakte.ru/&el=embedded'; 

    Specify the host vk. It helped me.