I’ll like to upload videos to youtube, I have correctly the token, but never uploads it , gives no error… it stops execution at line $status = $media->nextChunk($chunk); Here is my code: when executing the code, it outputs “YES 1YES 2” , never reaches echo “NOT REACHED”; line…. why? Can I add an exception or something to tell me the
Tag: youtube-api
Youtube Data API UnknowPart Error When Create Broadcasting
I’m trying to create Youtube live stream through my webpage via Youtube Data API. Whatever I tried, keep getting that error: { “error”: { “code”: 400, “message”:…
How to get 3 latest videos from youtube channel?
I know there are too many similar question like in my title, but I have problem that prevents me to make it works. I tested with three accounts and all of them in one day exceeded “request quota”. I …
Video upload stop working – Youtube API
I use a PHP script to upload some daily videos to a Youtube channel (based on this code sample: https://developers.google.com/youtube/v3/code_samples/php#resumable_uploads) The problem is after this loop: Normally the $status variable has the video id ($status[‘id’]) after the upload is complete but since mid January all the uploads failed with one of this errors: $status variable value stills as “false” Inside
Determine if YouTube video is widescreen?
I would like to know with certainty if a YouTube video is widescreen or not using the v3 API. There are many old videos that have a 4:3 ratio, so I need to detect this. This was possible with API v2, …
Uploading videos to a specific PREDETERMINED account with YouTube API v3
I have a website on which clients will be uploading videos. The thing is – I want those videos to be uploaded to OUR channel, not users’ channels. I don’t see how I could make it work using YouTube API v3. Every time a person wants to upload something using the access token I provided he has to input his
How can I get all videos for a given channel?
I want to be able to retrieve Youtube videos from a Youtube channel. My goal is to display them on a page. Currently I do it manually by getting an iframe like this: I am aware about Youtube API. I could not find a way to use it to get all videos from a channel. So for example like the
Get YouTube video title in PHP
In one of my applications I am saving a YouTube video’s id… Like “A4fR3sDprOE”. I have to display its title in the application. I got the following code for getting its title and also it’s working fine. Now the problem is if any error occurred (in case of a delete of the video) PHP is showing an error. I hust