How to get Channel ID of videos listed in PlaylistItems in Youtube API v3?
When I try to list videos with playlistItems.list
, I seem to not be getting the channelId
of the video anywhere. The video owner is different than the playlist owner, mind you.
Here is an example in Google API Explorer
I'm requesting one item from the playlist with an ID of PLgMGySfO8dl_IybGLflF1QhHwhBkOyZg7
. The one item returned is a video with an ID of tDHxiDA1Y6s
. I'm expecting to see the channel with an ID of UCOfEKi7Qkc3g5XNoQSl3D8Q
somewhere, but I don't see it.
I do see UC1bSfMYJEqh7DTSOsbe_t8Q
as a channel ID, but that's the channel ID of the owner of the playlist, not of the video. Also I noticed in the fields editor that there should be a field snippet.resourceId.channelId
, but even if I have it selected to be included, as you can see in the example result below, I do not get any value there.
Is there any way to get the channel IDs included of the videos without a second request?
This is the result I get:
{
"kind": "youtube#playlistItemListResponse",
"etag": ""XI7nbFXulYBIpL0ayR_gDh3eu1k/rEUHufzTzfkJMLVrD2pBtEz5OWY"",
"nextPageToken": "CAEQAA",
"pageInfo": {
"totalResults": 30,
"resultsPerPage": 1
},
"items": [
{
"kind": "youtube#playlistItem",
"etag": ""XI7nbFXulYBIpL0ayR_gDh3eu1k/2VurTVExuTlDwFHQ3ULfjL-KM7U"",
"id": "UExnTUd5U2ZPOGRsX0l5YkdMZmxGMVFoSHdoQmtPeVpnNy41NkI0NEY2RDEwNTU3Q0M2",
"snippet": {
"publishedAt": "2018-05-26T11:37:02.000Z",
"channelId": "UC1bSfMYJEqh7DTSOsbe_t8Q",
"title": "Unreal Tournament - Soundtrack (UMX)",
"description": "Music by Alexander "Siren" Brandon and Michiel van den Bos.n"enigma", "seeker", "seeker2" by Daniel "Basehead" Gardopée.n"FireBreath" by Tero "Teque" Kostermaa and Kaj-Eerik "Nitro" Komppa.n"mechanism eight" by Andrew "Necros" Sega.n"Razorback // Unreal mix" by Peter "Skaven" Hajba.nnTracks:n00:00 BOTPACK #9(By Michiel)n04:51 BOTMCA#10 (By Michiel)n09:13 Cannonaden11:11 Colossus (Michiel)n15:30 The Coursen20:01 Room of Championsn22:17 Shared Dign28:03 Into the darkness (Ending.umx)n29:53 unreal add-on (enigma)n33:19 -xTREMELY xECUTABLE-n35:31 FireBreathn38:48 Foregone Destructionn43:02 Go Downn46:05 Guardiann47:50 Nightvision - Sandman/KFMn51:58 Lockn54:44 mechanism eight - necrosn1:01:38 Mission Landingn1:05:53 Nether Animaln1:10:56 Organicn1:14:01 Phantomn1:20:04 Razorback // Unreal mixn1:24:56 RipCordn1:27:08 Riverb3n1:29:05 Runn1:33:41 Dream Tear Downn1:38:54 Save Me (SaveMe.umx)n1:40:47 Save Me (Savemeg.umx)n1:42:41 unreal add-on (seeker)n1:46:34 unreal add-on (seeker2)n1:50:01 Skyward Firen1:55:00 Into the darkness (Strider.umx)n1:57:45 Submarinebase 2n2:01:51 SuperFistn2:03:51 Underworld IIn2:07:02 Unreal Tournament Menun2:09:04 Unreal Tournament Titlen2:10:33 Three Wheels TurningnnA few titles and credits information taken from the Liandri Archives.",
"thumbnails": {
"default": {
"url": "https://i.ytimg.com/vi/tDHxiDA1Y6s/default.jpg",
"width": 120,
"height": 90
},
"medium": {
"url": "https://i.ytimg.com/vi/tDHxiDA1Y6s/mqdefault.jpg",
"width": 320,
"height": 180
},
"high": {
"url": "https://i.ytimg.com/vi/tDHxiDA1Y6s/hqdefault.jpg",
"width": 480,
"height": 360
},
"standard": {
"url": "https://i.ytimg.com/vi/tDHxiDA1Y6s/sddefault.jpg",
"width": 640,
"height": 480
},
"maxres": {
"url": "https://i.ytimg.com/vi/tDHxiDA1Y6s/maxresdefault.jpg",
"width": 1280,
"height": 720
}
},
"channelTitle": "amcsi",
"playlistId": "PLgMGySfO8dl_IybGLflF1QhHwhBkOyZg7",
"position": 0,
"resourceId": {
"kind": "youtube#video",
"videoId": "tDHxiDA1Y6s"
}
},
"contentDetails": {
"videoId": "tDHxiDA1Y6s",
"videoPublishedAt": "2011-05-02T19:50:49.000Z"
}
}
]
}
youtube youtube-api youtube-api-v3
add a comment |
When I try to list videos with playlistItems.list
, I seem to not be getting the channelId
of the video anywhere. The video owner is different than the playlist owner, mind you.
Here is an example in Google API Explorer
I'm requesting one item from the playlist with an ID of PLgMGySfO8dl_IybGLflF1QhHwhBkOyZg7
. The one item returned is a video with an ID of tDHxiDA1Y6s
. I'm expecting to see the channel with an ID of UCOfEKi7Qkc3g5XNoQSl3D8Q
somewhere, but I don't see it.
I do see UC1bSfMYJEqh7DTSOsbe_t8Q
as a channel ID, but that's the channel ID of the owner of the playlist, not of the video. Also I noticed in the fields editor that there should be a field snippet.resourceId.channelId
, but even if I have it selected to be included, as you can see in the example result below, I do not get any value there.
Is there any way to get the channel IDs included of the videos without a second request?
This is the result I get:
{
"kind": "youtube#playlistItemListResponse",
"etag": ""XI7nbFXulYBIpL0ayR_gDh3eu1k/rEUHufzTzfkJMLVrD2pBtEz5OWY"",
"nextPageToken": "CAEQAA",
"pageInfo": {
"totalResults": 30,
"resultsPerPage": 1
},
"items": [
{
"kind": "youtube#playlistItem",
"etag": ""XI7nbFXulYBIpL0ayR_gDh3eu1k/2VurTVExuTlDwFHQ3ULfjL-KM7U"",
"id": "UExnTUd5U2ZPOGRsX0l5YkdMZmxGMVFoSHdoQmtPeVpnNy41NkI0NEY2RDEwNTU3Q0M2",
"snippet": {
"publishedAt": "2018-05-26T11:37:02.000Z",
"channelId": "UC1bSfMYJEqh7DTSOsbe_t8Q",
"title": "Unreal Tournament - Soundtrack (UMX)",
"description": "Music by Alexander "Siren" Brandon and Michiel van den Bos.n"enigma", "seeker", "seeker2" by Daniel "Basehead" Gardopée.n"FireBreath" by Tero "Teque" Kostermaa and Kaj-Eerik "Nitro" Komppa.n"mechanism eight" by Andrew "Necros" Sega.n"Razorback // Unreal mix" by Peter "Skaven" Hajba.nnTracks:n00:00 BOTPACK #9(By Michiel)n04:51 BOTMCA#10 (By Michiel)n09:13 Cannonaden11:11 Colossus (Michiel)n15:30 The Coursen20:01 Room of Championsn22:17 Shared Dign28:03 Into the darkness (Ending.umx)n29:53 unreal add-on (enigma)n33:19 -xTREMELY xECUTABLE-n35:31 FireBreathn38:48 Foregone Destructionn43:02 Go Downn46:05 Guardiann47:50 Nightvision - Sandman/KFMn51:58 Lockn54:44 mechanism eight - necrosn1:01:38 Mission Landingn1:05:53 Nether Animaln1:10:56 Organicn1:14:01 Phantomn1:20:04 Razorback // Unreal mixn1:24:56 RipCordn1:27:08 Riverb3n1:29:05 Runn1:33:41 Dream Tear Downn1:38:54 Save Me (SaveMe.umx)n1:40:47 Save Me (Savemeg.umx)n1:42:41 unreal add-on (seeker)n1:46:34 unreal add-on (seeker2)n1:50:01 Skyward Firen1:55:00 Into the darkness (Strider.umx)n1:57:45 Submarinebase 2n2:01:51 SuperFistn2:03:51 Underworld IIn2:07:02 Unreal Tournament Menun2:09:04 Unreal Tournament Titlen2:10:33 Three Wheels TurningnnA few titles and credits information taken from the Liandri Archives.",
"thumbnails": {
"default": {
"url": "https://i.ytimg.com/vi/tDHxiDA1Y6s/default.jpg",
"width": 120,
"height": 90
},
"medium": {
"url": "https://i.ytimg.com/vi/tDHxiDA1Y6s/mqdefault.jpg",
"width": 320,
"height": 180
},
"high": {
"url": "https://i.ytimg.com/vi/tDHxiDA1Y6s/hqdefault.jpg",
"width": 480,
"height": 360
},
"standard": {
"url": "https://i.ytimg.com/vi/tDHxiDA1Y6s/sddefault.jpg",
"width": 640,
"height": 480
},
"maxres": {
"url": "https://i.ytimg.com/vi/tDHxiDA1Y6s/maxresdefault.jpg",
"width": 1280,
"height": 720
}
},
"channelTitle": "amcsi",
"playlistId": "PLgMGySfO8dl_IybGLflF1QhHwhBkOyZg7",
"position": 0,
"resourceId": {
"kind": "youtube#video",
"videoId": "tDHxiDA1Y6s"
}
},
"contentDetails": {
"videoId": "tDHxiDA1Y6s",
"videoPublishedAt": "2011-05-02T19:50:49.000Z"
}
}
]
}
youtube youtube-api youtube-api-v3
1
I'm afraid that you have to do another request for it. As you've experienced, playlistItem contains little details regarding the video so it is expected to call Videos: list to get that detail (ChannelID).
– Mr.Rebot
Nov 20 at 23:09
add a comment |
When I try to list videos with playlistItems.list
, I seem to not be getting the channelId
of the video anywhere. The video owner is different than the playlist owner, mind you.
Here is an example in Google API Explorer
I'm requesting one item from the playlist with an ID of PLgMGySfO8dl_IybGLflF1QhHwhBkOyZg7
. The one item returned is a video with an ID of tDHxiDA1Y6s
. I'm expecting to see the channel with an ID of UCOfEKi7Qkc3g5XNoQSl3D8Q
somewhere, but I don't see it.
I do see UC1bSfMYJEqh7DTSOsbe_t8Q
as a channel ID, but that's the channel ID of the owner of the playlist, not of the video. Also I noticed in the fields editor that there should be a field snippet.resourceId.channelId
, but even if I have it selected to be included, as you can see in the example result below, I do not get any value there.
Is there any way to get the channel IDs included of the videos without a second request?
This is the result I get:
{
"kind": "youtube#playlistItemListResponse",
"etag": ""XI7nbFXulYBIpL0ayR_gDh3eu1k/rEUHufzTzfkJMLVrD2pBtEz5OWY"",
"nextPageToken": "CAEQAA",
"pageInfo": {
"totalResults": 30,
"resultsPerPage": 1
},
"items": [
{
"kind": "youtube#playlistItem",
"etag": ""XI7nbFXulYBIpL0ayR_gDh3eu1k/2VurTVExuTlDwFHQ3ULfjL-KM7U"",
"id": "UExnTUd5U2ZPOGRsX0l5YkdMZmxGMVFoSHdoQmtPeVpnNy41NkI0NEY2RDEwNTU3Q0M2",
"snippet": {
"publishedAt": "2018-05-26T11:37:02.000Z",
"channelId": "UC1bSfMYJEqh7DTSOsbe_t8Q",
"title": "Unreal Tournament - Soundtrack (UMX)",
"description": "Music by Alexander "Siren" Brandon and Michiel van den Bos.n"enigma", "seeker", "seeker2" by Daniel "Basehead" Gardopée.n"FireBreath" by Tero "Teque" Kostermaa and Kaj-Eerik "Nitro" Komppa.n"mechanism eight" by Andrew "Necros" Sega.n"Razorback // Unreal mix" by Peter "Skaven" Hajba.nnTracks:n00:00 BOTPACK #9(By Michiel)n04:51 BOTMCA#10 (By Michiel)n09:13 Cannonaden11:11 Colossus (Michiel)n15:30 The Coursen20:01 Room of Championsn22:17 Shared Dign28:03 Into the darkness (Ending.umx)n29:53 unreal add-on (enigma)n33:19 -xTREMELY xECUTABLE-n35:31 FireBreathn38:48 Foregone Destructionn43:02 Go Downn46:05 Guardiann47:50 Nightvision - Sandman/KFMn51:58 Lockn54:44 mechanism eight - necrosn1:01:38 Mission Landingn1:05:53 Nether Animaln1:10:56 Organicn1:14:01 Phantomn1:20:04 Razorback // Unreal mixn1:24:56 RipCordn1:27:08 Riverb3n1:29:05 Runn1:33:41 Dream Tear Downn1:38:54 Save Me (SaveMe.umx)n1:40:47 Save Me (Savemeg.umx)n1:42:41 unreal add-on (seeker)n1:46:34 unreal add-on (seeker2)n1:50:01 Skyward Firen1:55:00 Into the darkness (Strider.umx)n1:57:45 Submarinebase 2n2:01:51 SuperFistn2:03:51 Underworld IIn2:07:02 Unreal Tournament Menun2:09:04 Unreal Tournament Titlen2:10:33 Three Wheels TurningnnA few titles and credits information taken from the Liandri Archives.",
"thumbnails": {
"default": {
"url": "https://i.ytimg.com/vi/tDHxiDA1Y6s/default.jpg",
"width": 120,
"height": 90
},
"medium": {
"url": "https://i.ytimg.com/vi/tDHxiDA1Y6s/mqdefault.jpg",
"width": 320,
"height": 180
},
"high": {
"url": "https://i.ytimg.com/vi/tDHxiDA1Y6s/hqdefault.jpg",
"width": 480,
"height": 360
},
"standard": {
"url": "https://i.ytimg.com/vi/tDHxiDA1Y6s/sddefault.jpg",
"width": 640,
"height": 480
},
"maxres": {
"url": "https://i.ytimg.com/vi/tDHxiDA1Y6s/maxresdefault.jpg",
"width": 1280,
"height": 720
}
},
"channelTitle": "amcsi",
"playlistId": "PLgMGySfO8dl_IybGLflF1QhHwhBkOyZg7",
"position": 0,
"resourceId": {
"kind": "youtube#video",
"videoId": "tDHxiDA1Y6s"
}
},
"contentDetails": {
"videoId": "tDHxiDA1Y6s",
"videoPublishedAt": "2011-05-02T19:50:49.000Z"
}
}
]
}
youtube youtube-api youtube-api-v3
When I try to list videos with playlistItems.list
, I seem to not be getting the channelId
of the video anywhere. The video owner is different than the playlist owner, mind you.
Here is an example in Google API Explorer
I'm requesting one item from the playlist with an ID of PLgMGySfO8dl_IybGLflF1QhHwhBkOyZg7
. The one item returned is a video with an ID of tDHxiDA1Y6s
. I'm expecting to see the channel with an ID of UCOfEKi7Qkc3g5XNoQSl3D8Q
somewhere, but I don't see it.
I do see UC1bSfMYJEqh7DTSOsbe_t8Q
as a channel ID, but that's the channel ID of the owner of the playlist, not of the video. Also I noticed in the fields editor that there should be a field snippet.resourceId.channelId
, but even if I have it selected to be included, as you can see in the example result below, I do not get any value there.
Is there any way to get the channel IDs included of the videos without a second request?
This is the result I get:
{
"kind": "youtube#playlistItemListResponse",
"etag": ""XI7nbFXulYBIpL0ayR_gDh3eu1k/rEUHufzTzfkJMLVrD2pBtEz5OWY"",
"nextPageToken": "CAEQAA",
"pageInfo": {
"totalResults": 30,
"resultsPerPage": 1
},
"items": [
{
"kind": "youtube#playlistItem",
"etag": ""XI7nbFXulYBIpL0ayR_gDh3eu1k/2VurTVExuTlDwFHQ3ULfjL-KM7U"",
"id": "UExnTUd5U2ZPOGRsX0l5YkdMZmxGMVFoSHdoQmtPeVpnNy41NkI0NEY2RDEwNTU3Q0M2",
"snippet": {
"publishedAt": "2018-05-26T11:37:02.000Z",
"channelId": "UC1bSfMYJEqh7DTSOsbe_t8Q",
"title": "Unreal Tournament - Soundtrack (UMX)",
"description": "Music by Alexander "Siren" Brandon and Michiel van den Bos.n"enigma", "seeker", "seeker2" by Daniel "Basehead" Gardopée.n"FireBreath" by Tero "Teque" Kostermaa and Kaj-Eerik "Nitro" Komppa.n"mechanism eight" by Andrew "Necros" Sega.n"Razorback // Unreal mix" by Peter "Skaven" Hajba.nnTracks:n00:00 BOTPACK #9(By Michiel)n04:51 BOTMCA#10 (By Michiel)n09:13 Cannonaden11:11 Colossus (Michiel)n15:30 The Coursen20:01 Room of Championsn22:17 Shared Dign28:03 Into the darkness (Ending.umx)n29:53 unreal add-on (enigma)n33:19 -xTREMELY xECUTABLE-n35:31 FireBreathn38:48 Foregone Destructionn43:02 Go Downn46:05 Guardiann47:50 Nightvision - Sandman/KFMn51:58 Lockn54:44 mechanism eight - necrosn1:01:38 Mission Landingn1:05:53 Nether Animaln1:10:56 Organicn1:14:01 Phantomn1:20:04 Razorback // Unreal mixn1:24:56 RipCordn1:27:08 Riverb3n1:29:05 Runn1:33:41 Dream Tear Downn1:38:54 Save Me (SaveMe.umx)n1:40:47 Save Me (Savemeg.umx)n1:42:41 unreal add-on (seeker)n1:46:34 unreal add-on (seeker2)n1:50:01 Skyward Firen1:55:00 Into the darkness (Strider.umx)n1:57:45 Submarinebase 2n2:01:51 SuperFistn2:03:51 Underworld IIn2:07:02 Unreal Tournament Menun2:09:04 Unreal Tournament Titlen2:10:33 Three Wheels TurningnnA few titles and credits information taken from the Liandri Archives.",
"thumbnails": {
"default": {
"url": "https://i.ytimg.com/vi/tDHxiDA1Y6s/default.jpg",
"width": 120,
"height": 90
},
"medium": {
"url": "https://i.ytimg.com/vi/tDHxiDA1Y6s/mqdefault.jpg",
"width": 320,
"height": 180
},
"high": {
"url": "https://i.ytimg.com/vi/tDHxiDA1Y6s/hqdefault.jpg",
"width": 480,
"height": 360
},
"standard": {
"url": "https://i.ytimg.com/vi/tDHxiDA1Y6s/sddefault.jpg",
"width": 640,
"height": 480
},
"maxres": {
"url": "https://i.ytimg.com/vi/tDHxiDA1Y6s/maxresdefault.jpg",
"width": 1280,
"height": 720
}
},
"channelTitle": "amcsi",
"playlistId": "PLgMGySfO8dl_IybGLflF1QhHwhBkOyZg7",
"position": 0,
"resourceId": {
"kind": "youtube#video",
"videoId": "tDHxiDA1Y6s"
}
},
"contentDetails": {
"videoId": "tDHxiDA1Y6s",
"videoPublishedAt": "2011-05-02T19:50:49.000Z"
}
}
]
}
youtube youtube-api youtube-api-v3
youtube youtube-api youtube-api-v3
asked Nov 19 at 11:15
Attila Szeremi
1,64022145
1,64022145
1
I'm afraid that you have to do another request for it. As you've experienced, playlistItem contains little details regarding the video so it is expected to call Videos: list to get that detail (ChannelID).
– Mr.Rebot
Nov 20 at 23:09
add a comment |
1
I'm afraid that you have to do another request for it. As you've experienced, playlistItem contains little details regarding the video so it is expected to call Videos: list to get that detail (ChannelID).
– Mr.Rebot
Nov 20 at 23:09
1
1
I'm afraid that you have to do another request for it. As you've experienced, playlistItem contains little details regarding the video so it is expected to call Videos: list to get that detail (ChannelID).
– Mr.Rebot
Nov 20 at 23:09
I'm afraid that you have to do another request for it. As you've experienced, playlistItem contains little details regarding the video so it is expected to call Videos: list to get that detail (ChannelID).
– Mr.Rebot
Nov 20 at 23:09
add a comment |
1 Answer
1
active
oldest
votes
As you suspected, a call to PlaylistItems returns the channel ID of the playlist owner. To get the original channel ID of the videos in the playlist, you'll need a second call to the videos endpoint with the video IDs.
add a comment |
Your Answer
StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53373429%2fhow-to-get-channel-id-of-videos-listed-in-playlistitems-in-youtube-api-v3%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
As you suspected, a call to PlaylistItems returns the channel ID of the playlist owner. To get the original channel ID of the videos in the playlist, you'll need a second call to the videos endpoint with the video IDs.
add a comment |
As you suspected, a call to PlaylistItems returns the channel ID of the playlist owner. To get the original channel ID of the videos in the playlist, you'll need a second call to the videos endpoint with the video IDs.
add a comment |
As you suspected, a call to PlaylistItems returns the channel ID of the playlist owner. To get the original channel ID of the videos in the playlist, you'll need a second call to the videos endpoint with the video IDs.
As you suspected, a call to PlaylistItems returns the channel ID of the playlist owner. To get the original channel ID of the videos in the playlist, you'll need a second call to the videos endpoint with the video IDs.
answered Nov 20 at 22:08
johnh10
2,5821720
2,5821720
add a comment |
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53373429%2fhow-to-get-channel-id-of-videos-listed-in-playlistitems-in-youtube-api-v3%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
1
I'm afraid that you have to do another request for it. As you've experienced, playlistItem contains little details regarding the video so it is expected to call Videos: list to get that detail (ChannelID).
– Mr.Rebot
Nov 20 at 23:09