Quantcast
Channel: Access YouTube Video URL With YouTube Video ID - Stack Overflow
Viewing all articles
Browse latest Browse all 3

Answer by johnh10 for Access YouTube Video URL With YouTube Video ID

$
0
0

Your first call was right, only you need the snippet as well to get the video IDs.

https://www.googleapis.com/youtube/v3/playlistItems?part=id,snippet&playlistId=PLrEnWoR732-BHrPp_Pm8_VleD68f9s14-&key=KEY

Put the above in your browser to see the JSON result. You'll want to grab the

snippet->resourceId->videoID

for each item. Once you have the videoID you can make the url by just adding it to the end of the string "https://www.youtube.com/watch?v="

I think that's what you were asking for.


Viewing all articles
Browse latest Browse all 3

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>