Quantcast
Channel: Active questions tagged youtube-api - Stack Overflow
Viewing all articles
Browse latest Browse all 3831

Description is updated via api but not in the backend edit form

$
0
0

I have a very very weird behavior. I update the description of a video using the api. That description is updated and if i call the youtube video directly the text is changed. If i now click edit and the backend is loaded i still see the old text on the description edit form.To my knowledge the code is correct.

// https://developers.google.com/youtube/v3/docs/videos/update$updateVideo = new Google_Service_YouTube_Video($video);$updateVideo->setID($videoId);$updateSnippet = new Google_Service_YouTube_VideoSnippet($videoSnippet);$updateSnippet = $videoSnippet;$updateSnippet->setTags($tags);$updateSnippet->setDescription($updatedDescription);$updateVideo->setSnippet($updateSnippet);// Update the video resource by calling the videos.update() method.$updateResponse = $service->videos->update("snippet", $updateVideo);$responseTags = $updateResponse['snippet']['tags'];

Viewing all articles
Browse latest Browse all 3831

Trending Articles