dcblogdev / dcblogcomments

2 stars 0 forks source link

how-to-upload-videos-to-youtube-with-php #9

Open utterances-bot opened 4 years ago

utterances-bot commented 4 years ago

How to upload videos to YouTube with PHP - DC Blog | Development Tutorials

Using the YouTube API its possible to upload videos to your own YouTube account using their API,...

https://dcblog.dev/how-to-upload-videos-to-youtube-with-php

revanslacey commented 4 years ago

Hi David,

When I go to Zend I get this message:

"We've moved! Zend Framework is now the Laminas Project. Please update your bookmarks." Should I still try to go with Zend or is there something else on Laminas?

Is Zend instead of the prerequisites stated on the google website?: "To run this quickstart, you'll need:

PHP 5.4 or greater with the command-line interface (CLI) and JSON extension installed. The Composer dependency management tool installed globally {: target="_blank"} The Google APIs Client Library for PHP"

I've never done any of this stuff before and I'm finding it all rather confusing!!

Many thanks,

Richard.

dcblogdev commented 4 years ago

the old API doesn't exist anymore. If you know python there is an official guide https://developers.google.com/youtube/v3/guides/uploading_a_video

Otherwise, Google has a PHP library. I haven't used it so can't give you an example I'm afraid.

https://developers.google.com/youtube/v3/quickstart/php

revanslacey commented 4 years ago

Does that mean this example no longer works? I don't know python. I'm trying to automatically upload videos as they are recorded using JavaScript and PHP. Sadly I'm confused at the first hurdle with Google. The "prerequisites" are very complicated and I'm searching for a step by step example to help me out. Thanks anyway.

dcblogdev commented 4 years ago

my tutorial won't work I need to find a solution and update it.

This guide looks like it will cover it https://www.codexworld.com/upload-video-to-youtube-using-php/

revanslacey commented 4 years ago

I'll check it out! All this "Composer PHAR" business is baffling to me so far! I'll be needing an affordable coding coach at some point (potentially very soon!) Do you know anyone who might fit the bill?

revanslacey commented 4 years ago

Ah! I've watched that already. No explaination, just music. And nothing about "Composer PHAR". :-/

dcblogdev commented 4 years ago

I didn't try the video, there looks to be quite detailed steps under the video.

Sorry I don't know anyone who's a coding coach, but mentorship might be useful, here's a site that helps to that end https://www.codementor.io/