PHP PHP Code

Download videos from Youtube using PHP and API

Hi friends, In the earlier we learned how to download a file using php code, this post is explains how to download videos from Youtube using by PHP code and API. This post by Siddhu Vydyabhushana, his earlier post is jQuery plugin for Text to Speech, this time come with this unique post.

Download videos from Youtube using PHP and API by Siddhu Vydyabhushana

Download videos from Youtube using PHP and API by Siddhu Vydyabhushana

demo link for download videos from Youtube using PHP and API download link for Download videos from Youtube using PHP and API

3GP,FLV,MP4,AVI and more…(***No JAVA Plugins Required***)

Final Output of this Application will be

Download videos from Youtube using PHP and API by Siddhu Vydyabhushana

Download videos from Youtube using PHP and API by Siddhu Vydyabhushana

47 Comments

  • Reply
    Kathir
    November 21, 2013 at 5:18 am

    Youtube video download script is not working in your demo. Please check it and update it.

  • Reply
    deepu
    November 24, 2013 at 4:57 pm

    Hi this script is working fine on your server.Could you please zip those files so that i can test on my server.I have copy pasted the above code but script is not working.

  • Reply
    saurabh
    November 26, 2013 at 4:30 pm

    where is download.php ?? is this file is missing lol

  • Reply
    saurabh
    November 26, 2013 at 4:45 pm

    thanks

  • Reply
    tg
    January 4, 2014 at 2:52 pm

    it wont work on shared hosting ??

  • Reply
    andrei
    January 6, 2014 at 8:24 pm

    the donwload.php file is missing
    can you send to me?
    thanks

  • Reply
    Darren
    January 9, 2014 at 1:38 pm

    Hello,

    Can you please share the Download.php? It is missing!

  • Reply
    vamsi
    January 15, 2014 at 9:48 pm

    Download.php is missing can u please send me?

    waiting for that..

    please send me whole working folder please

  • Reply
    Misha Rabinovich
    January 22, 2014 at 8:12 pm

    Great example, thanks!
    One small minor thing: errant double php closing brace ?> in last line of curl.php

  • Reply
    Edward
    January 31, 2014 at 4:09 am

    Nice script. But it should not support for downloading VEVO’s video. Please fix it. Here, I have another demo for youtube downloader

  • Reply
    علی
    February 10, 2014 at 4:48 pm

    Hi php file download not available please send to my email Thanks

  • Reply
    علی جان
    February 12, 2014 at 1:15 pm

    hi plz file download.php

    thnks

  • Reply
    piter
    February 18, 2014 at 4:34 pm

    hello friend a question for download in mp3 format as is done, please help

  • Reply
    frank
    February 28, 2014 at 1:03 am

    can you post download.php file?

  • Reply
    james
    March 12, 2014 at 12:01 pm

    youtube video download DEMO not working………………..

  • Reply
    zuberkhan
    March 19, 2014 at 2:44 pm

    Please Help Me Its Not Working For Me .

  • Reply
    James
    March 25, 2014 at 1:58 am

    Good blog post. I certainly love this site. Keep writing!

  • Reply
    Goon
    October 21, 2014 at 6:03 am

    It’s not working anymore 🙂

  • Reply
    MiraZ Mac
    March 10, 2015 at 7:03 am

    The script is not working bro. please update it :/

  • Reply
    Imal
    May 27, 2015 at 6:55 am

    what about this API http://mediakeepapi.info/ it is easy to use API for downloading video + mp3

  • Reply
    bdad
    June 9, 2015 at 2:14 am

    new download page need

  • Reply
    Peter
    June 10, 2015 at 1:34 pm

    Sorry mine is not working this is the error am getting when trying to download a video with a correct URL “Error Locating Downlod URL’s”

  • Reply
    Randhir
    September 7, 2015 at 7:00 am

    The script is not working on your website i am getting the error “Error Locating Downlod URL’s” and also when I downloaded the code it is totally different from the demo it has only the search funcationlity now the downloading.
    Please provide the exact demo to peoples. You are showing something different in your demo and something else in the donwloaded code.

  • Reply
    Shimanto
    November 4, 2015 at 9:56 pm

    The script is not working on your website i am getting the error “Error Locating Downlod URL’s” and also when I downloaded the code it is totally different from the demo it has only the search funcationlity now the downloading.

  • Reply
    hurinet
    January 23, 2016 at 6:19 am

    It’s not working..
    please , I took a lot of his scripts

  • Reply
    nurul//amarongbd
    February 9, 2016 at 11:13 am

    this api not working.

  • Reply
    youtube mp3 convertisseur
    February 19, 2016 at 9:07 pm

    The YouTube music to MP3 converter is superb to
    adapt YouTube videos to MP3 format or every other generally-used codecs
    resembling AVI, WMA, MP4 and lots of extra. Transformed music might be calmly played on different
    devices like iPod, iPhone and so on.

  • Reply
    jasmine
    March 17, 2016 at 1:49 pm

    not working..please update to api v.3
    My website

  • Reply
    moktarul
    September 6, 2016 at 1:59 pm

    Hi All
    please look into this
    http://api.ababeen.com/api/best-free-youtube-download-url-apis1-0/

    demo” you3tube.com

    api is going to rock in future

  • Reply
    Amit Kumar
    September 27, 2016 at 6:00 am

    how to video download using youtube video url in php

  • Reply
    hdwon
    November 6, 2016 at 9:28 am

    Best youtube video download demo http://hdwon.com

  • Reply
    younggb
    December 7, 2016 at 5:13 pm

    good job

  • Reply
    Stafa
    January 9, 2017 at 11:27 am

    Error bro, share script code, please!

  • Reply
    sabwon.com
    February 11, 2017 at 4:37 pm

    Fast Youtube Video Download – http://sabwon.com/

  • Reply
    Sandeep Kamboj
    February 12, 2017 at 6:25 am

    Whats is the username and password that is to be set in youtube.php

  • Reply
    Huma
    March 7, 2017 at 7:50 pm

    https://you3ube.com is best video downloader I use

  • Reply
    Radit ganteng
    March 15, 2017 at 10:03 am

    Here , Soundmp3 PHP youtube downloader work ..all videos (copyright include) all format video(HD,MP4,WEBM,3.GP) or mp3 ….Pm me if you wanted Facebook RADIT

  • Reply
    Stafaband
    May 17, 2017 at 7:58 am

    I am sell script STAFABAND for download music and video, my script grabber unlimited.
    My script grab from youtube

  • Reply
    Abul Hasan
    December 8, 2017 at 9:52 am

    Nice Post ThnQ – http://tubenik.com

  • Reply
    Youtube Video Download
    December 9, 2017 at 2:27 am

    http://tubenik.com – Youtube Video Download Place Free

  • Reply
    Pji
    January 30, 2018 at 2:47 pm

    Try the best Youtube to mp3 converter and soundcloud to mp3 https://freevideoconverter.online

  • Reply
    Sameertech
    July 14, 2018 at 7:58 am

    Scripts is not working please fix it bro

  • Reply
    acharya
    December 23, 2018 at 1:21 pm

    download hdbuddy.com videos

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.