Monday, 10 February 2014

Filled Under:
,

how to upload video on youtube using php

               in this post i have explain that how to upload quickly and faster than other sources to upload video on youtube from your website  using php.youtube is a world popular and faster video hosting website upload more video on youtube and growth your business on internet marketing.      





Download complate source code and live demo that how to upload video on youtube using php please visit our official website 
http://easyscript4u.com/2014/11/upload-video-youtube-using-php/




38 comments:

  1. hi
    this file not found "Zend/Loader.php" can you hel me how can fiend this file
    Thanks

    ReplyDelete
    Replies
    1. Dear kirti,
      you can download Zend/Loader.php file from this url.

      http://easyscript4u.com/demo/Loader.rar

      Delete
  2. Fantastic Work and Very nice content... This post is very interesting and knowledgeable for me... thanks for sharing this post...
    More info:- Youtube Support

    ReplyDelete
  3. i hav download loader file from http://easyscript4u.com/demo/Loader.rar. but i dont hav the idea about where should put dis loader file... Is at root? can u pls help me..

    ReplyDelete
    Replies
    1. Dear Anju you want to put this loader.php file into Zend folder also you can download full zend folder form here
      http://easyscript4u.com/download/youtube-video-upload.rar

      Delete
  4. Thanx for your valuable reply dear Bodar....

    ReplyDelete
  5. Dear Bodar, when i running youtube_upload.php from youtube-video-upload.rar, i can see upload.php not found. n.....when i was put zend folder into my projects, {"data":{"flag":false,"msg":"Username or Password Invalid."}} message was found. but Username or Password correct for me

    ReplyDelete
  6. Array
    (
    [data] => Array
    (
    [flag] =>
    [msg] => Expected response code 200, got 400
    yt:validationinvalid_valuemedia:group/media:category[@scheme='http://gdata.youtube.com/schemas/2007/categories.cat']/text()
    )

    )

    I got above error .

    ReplyDelete
    Replies
    1. Dear mitesh,

      above youtube video upload code complately working i think you mistek in you title or description please enter proper description and title with only charcter because some special character not allowed.

      Delete
  7. {"data":{"flag":false,"msg":"Username or Password Invalid."}} message was found. but Username or Password correct for me error

    ReplyDelete
  8. Wow! It works fine. Thanks a lot

    ReplyDelete
  9. Dear mitesh, i got the same error as you above mentioned. Can you help me? Does it run on localhost?

    ReplyDelete
  10. Yes it run on localhost.
    Change category in code given above.
    CHANGE $newEntry->setVideoCategory("VIDEO CATEGORY HERE");
    BY
    $newEntry->setVideoCategory("Comedy");

    ReplyDelete
  11. If you run online server and if you will get {"data":{"flag":false,"msg":"Username or Password Invalid."}} this type error message then go to your gmail account which you have added in code.In your inbox you will get 'Suspicious sign in prevented' this type of subject. open that mail click the link in message 'http://support.google.com/mail?p=client_login'
    then new page will open having heading 'My client isn't accepting my username and password'
    In that page you get http://www.google.com/accounts/DisplayUnlockCaptcha this link click on that link
    new page will open click on continue.

    now your code will run.

    fill free to ask question.

    ReplyDelete
  12. Thank you so much dear Mitesh...

    ReplyDelete
    Replies
    1. This comment has been removed by the author.

      Delete
  13. Hi thank you for sharing this topic. very informative.. If you are looking for Youtube Technical Support You can reach Acetecsupport at their Call Toll Free No +1-800-231-4635 For US/CA.

    ReplyDelete
  14. Hi, I tried this but it doesn't upload. I guess I downloaded the wrong zend folder to upload. Can you please tell me which one I should download?

    ReplyDelete
    Replies
    1. Dear Min,

      you can download complate source code from below link
      http://easyscript4u.com/download/youtube-video-upload.rar

      and for more help visit our website http://www.easyscript4u.com

      Delete
  15. I love your blog. Bcoz lots of useful information. . thanks for sharing it. please visit Youtube Technical Support

    ReplyDelete
  16. Bodar, thanks a lot for your help.
    I really appreciate it.
    I've downloaded the complete code uploaded it on my server and changed the put my youtube username pass and developer key.
    But i don't know what you meant by "videoname" in step 4. the name of my video file? Like for example: myvideo.avi
    is that correct? and where should i put it"?
    Thanks so much man.

    ReplyDelete
    Replies
    1. Dear Min,

      $filesource->setSlug($fileName);
      upload your video on the server and fllow this below $filename is your video file name EX test.mp4 if your video in uploads directory than give
      $filesource->setSlug('uploads/'.$fileName);
      you want to put here full path like above of your video.

      and for more help visit our website http://www.easyscript4u.com

      Delete
  17. Hi Bodar,
    I followed the instructions and when i went to the index.php page. I got something like this:
    http://gyazo.com/909b2c344efaf850f009db2bcf1ec1ca
    And when I clicked upload it redirected me to a page like this:
    mywebsite/youtube_uploader/uploads.php which is a "Nothing found page"
    Can you please tell me what's the problem with this?

    ReplyDelete
  18. This comment has been removed by the author.

    ReplyDelete
  19. Warning: move_uploaded_file(/midnight_sun_sv1_3_360p.mp4) [function.move-uploaded-file]: failed to open stream: Permission denied in /home/content/79/9564479/html/ifile168/tube/youtube-video-upload/youtube-video-upload/youtube_upload.php on line 17 pls help me

    ReplyDelete
  20. how about photo slideshow?
    how to upload it on youtube?

    ReplyDelete
    Replies
    1. sorry dear i have not idea about slideshow if i will found than i will absolutely inform you for get latest news and free source code go on http://www.easyscript4u.com and subscribe with us.

      Delete
  21. hi bodar i an using proved zip but its not working,not giving any error

    ReplyDelete
  22. Array
    (
    [data] => Array
    (
    [flag] =>
    [msg] => File to be uploaded at 123.mp4 does not exist or is not readable.
    )

    ) i am getting this

    ReplyDelete
  23. i am getting this error

    {"data":{"flag":false,"msg":"ERROR - Could not obtain authenticated Http client object. Authentication with Google failed. Reason: BadAuthentication"}}

    ReplyDelete
    Replies
    1. create api key from google console and use it with your correct username and password.

      Delete
    2. i tried , But this error only i m getting.In google console, there is a two option available,OAuth & Public API access. In which option i need to create that api key

      Delete
  24. Really Nice Information,Thank You Very Much For Sharing.
    Web Designing Company

    ReplyDelete
  25. It is giving the following error?

    {"data":{"flag":false,"msg":"Username or Password Invalid."}}

    ReplyDelete
  26. Awesome blog and unique content. I have this site already bookmarked in my browser. Thanks for this post. visit- Youtube Support Also Call +1-800-231-4635 USA (Toll Free).

    ReplyDelete