Take back videoId

Hi everybody!

Using the PHP SDK to upload a video:

$video = $client->videos->upload(
    array('title' => 'Course #4 - Part B')

How can I take the videoId:

José Antonio.

After the upload using the $video object :


seems to be a good way.

Here’s the doc with examples

We may update the doc with the way to get the videoId in the future.

1 Like