javascript - Getting Youtube view counts for several videos using APIv3 (jquery) -
i'm trying create youtube social feed includes video, title, description, date, , view count. i've got work except last one, view count. i've been able view counts show out of order , i'm lost on how make them match respective videos. used video initial tutorial: [ https://www.youtube.com/watch?v=jdqsifw74jk][1] got me far, i'm lost again. here code via code pen: [ http://codepen.io/thatsmyjams/pen/ejzwex][2] here html: <div id="container"> <h2>results:</h2> <ul id="results"></ul> </div> and here javascript: var yourapikey = 'aizasydpy9fhgp7evndr5mgrxwwkgubtfm8l5pe'; var channelname = 'googledevelopers'; var vidcount = 5; var vidheight = 275; var vidwidth = 400; $(document).ready(function(){ $.get( "https://www.googleapis.com/youtube/v3/channels", { part: 'contentdetails', forusername: ch...