📰 Get Youtube information via JSON for single video (not feed) in Javascript - Stack Overflow
https://stackoverflow.com/feeds/question/10066638
· source : jquery - Get Youtube information via JSON for single video (not feed) in Javascript - Stack Overflow
most recent 30 from stackoverflow.com
🗒️ Articles (5 affichés)
📄 5
04/07/2018 21:13
So I am trying to get information from a single youtube video via in the JSON format. Like title description category, ect whatever I can get besides the comments. I am trying to do this in Javascript. I noticed the link below but all of their examples are how to get video information from feeds. I …
Lire l'article →
06/05/2015 20:29
UPDATE MAY/2015: This solution doesn't work properly, YouTube API v2 is in process to be discontinued soon. More info at: https://www.youtube.com/devicesupport Try something like this: var video_id='VA770wpLX-Q'; $.getJSON('http://gdata.youtube.com/feeds/api/videos/'+video_id+'?v=2&alt=jsonc',functi…
Lire l'article →
04/07/2018 21:13
UPDATED 2018 API v2 deprecated. New youtube api v3 works only with developer token and has limitation for free connections. You can get JSON without API: http://www.youtube.com/oembed?url=http://www.youtube.com/watch?v=ojCkgU5XGdg&format=json Or xml http://www.youtube.com/oembed?url=http://www.youtu…
Lire l'article →
25/08/2015 15:34
in v3: $.getJSON('https://www.googleapis.com/youtube/v3/videos?id={videoId}&key={myApiKey}&part=snippet&callback=?',function(data){ if (typeof(data.items[0]) != "undefined") { console.log('video exists ' + data.items[0].snippet.title); } else { console.log('video not exists'); } }); In response a @J…
Lire l'article →
06/05/2016 09:01
Problem YouTube API doesn't support JSONP as it should - see Issue 4329: oEmbed callback for JSONP. Also, YouTube Data API v2 is deprecated. Solution You can use the Noembed service to get oEmbed data with JSONP for YouTube videos. Bonus no API keys are needed no server-side proxy is required Exampl…
Lire l'article →