I`m looking for php code can download videos from Youtube.
It must written with AJAX and field to insert Youtube link, When I put link on field click on get formats, and you must get all formats available on Youtube for this link such as MP4, FLV, and other... when I choose any format for example I select MP4 I can choose quality now, 1080, 720, and other... and when I select quality I click on start download and your code start downloading from Youtube ( ALL IN AJAX ).
When downloading progress done and video downloaded from Youtube, your code must show a link for saved location and when user click on link start download video from server.
In right side of index must list downloaded videos and user can download downloaded videos from Youtube and can be delete them from server.
Design of index must be very very very eye catcher.
All is clear?
Thanks in advance.
NOTE: you can use Youtube-dl to get formats, get quality and download, just you must write a code and index to contact with Youtube-dl command line correctly.