You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 27, 2023. It is now read-only.
**Please note, the maxiumum filesize for the thumbnail is 2MB**. Setting a thumbnail will not work if you attempt to use a thumbnail that exceeds this size.
112
112
113
+
# Updating a Video
114
+
115
+
To update a video, you simply need to pass the **videoId** of the video you wish to update and specify your video information.
116
+
117
+
Here's an example:
118
+
119
+
```php
120
+
$video = Youtube::update($videoId, [
121
+
'title' => 'My Awesome Video',
122
+
'description' => 'You can also specify your video description here.',
123
+
'tags' => ['foo', 'bar', 'baz'],
124
+
'category_id' => 10
125
+
], $privacy);
126
+
127
+
return $video->getVideoId();
128
+
```
129
+
130
+
Note: This request is explicit. Any params left out of the request will be removed.
131
+
113
132
# Deleting a Video
114
133
115
134
If you would like to delete a video, which of course is uploaded to your authorized channel, you will also have the ability to delete it:
0 commit comments