The script must allow:
* Download videos in all formats available. Due to restrictions of Youtube, the video must be streamed from Youtube to the Site and from the Site to the User.
* Allow the option to convert to MP3, that work is performed in the server.
I attach an unwork version (freedown).