In the request for get_video_info, use el=embedded instead of el=detailpage, as if the request was coming from an embedded video player instead of the video webpage. This created problems for some videos, with YouTube replying with "Invalid parameters". This fixes issue #109 and fixes issue #110.rtmp_test