// API callback
myfunction({
 "apiVersion": "2.1",
 "data": {
  "updated": "2015-02-03T19:31:59.308Z",
  "totalItems": 52,
  "startIndex": 1,
  "itemsPerPage": 5,
  "items": [
   {
    "id": "gSpgBHNfSrE",
    "uploaded": "2013-06-18T17:39:52.000Z",
    "updated": "2014-02-28T18:43:33.000Z",
    "uploader": "citywaterloo",
    "category": "Nonprofit",
    "title": "Waterloo Welcomes the 2013 Manulife Financial LPGA Classic",
    "description": "The City of Waterloo is thrilled to welcome the LPGA to Waterloo for the second year in a row. Last year, more than 66,000 visitors attended the tournament and an estimated $20 million in economic impacted resulted in our community. For more information about this world-class event, visit www.manulifeclassic.ca.",
    "thumbnail": {
     "sqDefault": "http://i.ytimg.com/vi/gSpgBHNfSrE/default.jpg",
     "hqDefault": "http://i.ytimg.com/vi/gSpgBHNfSrE/hqdefault.jpg"
    },
    "player": {
     "default": "http://www.youtube.com/watch?v=gSpgBHNfSrE&feature=youtube_gdata_player"
    },
    "content": {
     "5": "http://www.youtube.com/v/gSpgBHNfSrE?version=3&f=user_uploads&app=youtube_gdata"
    },
    "duration": 133,
    "aspectRatio": "widescreen",
    "rating": 5.0,
    "likeCount": "1",
    "ratingCount": 1,
    "viewCount": 406,
    "favoriteCount": 0,
    "commentCount": 1,
    "status": {
     "value": "restricted",
     "reason": "limitedSyndication"
    },
    "accessControl": {
     "comment": "allowed",
     "commentVote": "allowed",
     "videoRespond": "moderated",
     "rate": "allowed",
     "embed": "allowed",
     "list": "allowed",
     "autoPlay": "allowed",
     "syndicate": "allowed"
    }
   },
   {
    "id": "PW_YN9nuvY4",
    "uploaded": "2013-05-22T17:47:47.000Z",
    "updated": "2015-01-17T22:41:22.000Z",
    "uploader": "citywaterloo",
    "category": "Nonprofit",
    "title": "City of Waterloo - Name baby llama contest - winning entry",
    "description": "The City of Waterloo recently held a contest to name the newest addition to the Eby Farmstead. Our baby llama now has a new name - Dave!",
    "thumbnail": {
     "sqDefault": "http://i.ytimg.com/vi/PW_YN9nuvY4/default.jpg",
     "hqDefault": "http://i.ytimg.com/vi/PW_YN9nuvY4/hqdefault.jpg"
    },
    "player": {
     "default": "http://www.youtube.com/watch?v=PW_YN9nuvY4&feature=youtube_gdata_player"
    },
    "content": {
     "5": "http://www.youtube.com/v/PW_YN9nuvY4?version=3&f=user_uploads&app=youtube_gdata"
    },
    "duration": 19,
    "aspectRatio": "widescreen",
    "rating": 5.0,
    "likeCount": "4",
    "ratingCount": 4,
    "viewCount": 336,
    "favoriteCount": 0,
    "commentCount": 0,
    "status": {
     "value": "restricted",
     "reason": "limitedSyndication"
    },
    "accessControl": {
     "comment": "allowed",
     "commentVote": "allowed",
     "videoRespond": "moderated",
     "rate": "allowed",
     "embed": "allowed",
     "list": "allowed",
     "autoPlay": "allowed",
     "syndicate": "allowed"
    }
   },
   {
    "id": "h8nMpaOYYM4",
    "uploaded": "2013-03-06T18:57:05.000Z",
    "updated": "2014-02-28T18:43:35.000Z",
    "uploader": "citywaterloo",
    "category": "Nonprofit",
    "title": "Tutorial to apply for a rental housing licence using mypermits.waterloo.ca",
    "description": "The City of Waterloo bylaw enforcement division has created mypermits.waterloo.ca. This online service allows users to access permit information. Registered users can log on to view, apply and pay for permits or request inspection. This video tutorial demonstrates how users can apply for a rental housing licence.",
    "thumbnail": {
     "sqDefault": "http://i.ytimg.com/vi/h8nMpaOYYM4/default.jpg",
     "hqDefault": "http://i.ytimg.com/vi/h8nMpaOYYM4/hqdefault.jpg"
    },
    "player": {
     "default": "http://www.youtube.com/watch?v=h8nMpaOYYM4&feature=youtube_gdata_player"
    },
    "content": {
     "5": "http://www.youtube.com/v/h8nMpaOYYM4?version=3&f=user_uploads&app=youtube_gdata"
    },
    "duration": 201,
    "aspectRatio": "widescreen",
    "rating": 5.0,
    "likeCount": "1",
    "ratingCount": 1,
    "viewCount": 69,
    "favoriteCount": 0,
    "commentCount": 0,
    "status": {
     "value": "restricted",
     "reason": "limitedSyndication"
    },
    "accessControl": {
     "comment": "allowed",
     "commentVote": "allowed",
     "videoRespond": "moderated",
     "rate": "allowed",
     "embed": "allowed",
     "list": "allowed",
     "autoPlay": "allowed",
     "syndicate": "allowed"
    }
   },
   {
    "id": "d8YiPjSUXpY",
    "uploaded": "2013-03-06T18:47:11.000Z",
    "updated": "2015-01-05T20:30:00.000Z",
    "uploader": "citywaterloo",
    "category": "Nonprofit",
    "title": "Tutorial to submit a public query using mypermits.waterloo.ca",
    "description": "The City of Waterloo bylaw enforcement division has created mypermits.waterloo.ca. This online service allows users to access permit information. Registered users can log on to view, apply and pay for permits or request inspection. This video tutorial demonstrates how users can submit a public query.",
    "thumbnail": {
     "sqDefault": "http://i.ytimg.com/vi/d8YiPjSUXpY/default.jpg",
     "hqDefault": "http://i.ytimg.com/vi/d8YiPjSUXpY/hqdefault.jpg"
    },
    "player": {
     "default": "http://www.youtube.com/watch?v=d8YiPjSUXpY&feature=youtube_gdata_player"
    },
    "content": {
     "5": "http://www.youtube.com/v/d8YiPjSUXpY?version=3&f=user_uploads&app=youtube_gdata"
    },
    "duration": 84,
    "aspectRatio": "widescreen",
    "rating": 3.0,
    "likeCount": "1",
    "ratingCount": 2,
    "viewCount": 151,
    "favoriteCount": 0,
    "commentCount": 0,
    "status": {
     "value": "restricted",
     "reason": "limitedSyndication"
    },
    "accessControl": {
     "comment": "allowed",
     "commentVote": "allowed",
     "videoRespond": "moderated",
     "rate": "allowed",
     "embed": "allowed",
     "list": "allowed",
     "autoPlay": "allowed",
     "syndicate": "allowed"
    }
   },
   {
    "id": "3Y2C8Eleduc",
    "uploaded": "2013-02-14T15:01:08.000Z",
    "updated": "2014-02-28T18:43:35.000Z",
    "uploader": "citywaterloo",
    "category": "Nonprofit",
    "title": "2013 Water Category Co-winner - Federation of Canadian Municipalities (FCM)",
    "description": "The City of Waterloo has developed a new sports facility with a rainwater system that uses runoff from two playing fields with artificial turf to irrigate four fields with natural turf. Smart sensors control irrigation, and help staff assess field conditions, decide on closures and alert the public quickly. The system diverts runoff from the city's sewers, reduces the use of potable water for irrigation, and is expected to reduce municipal water consumption by up to 10 million litres annually.\n\nThe development includes a central pavilion that serves as a gathering place for the 1.3 million people that visit the park every year. The pavilion includes a green roof, educational signage and a web-based educational module for Grades 7 and 8. The new park showcases the city's commitment to sustainable infrastructure projects and is helping to educate residents about the importance of water conservation.",
    "thumbnail": {
     "sqDefault": "http://i.ytimg.com/vi/3Y2C8Eleduc/default.jpg",
     "hqDefault": "http://i.ytimg.com/vi/3Y2C8Eleduc/hqdefault.jpg"
    },
    "player": {
     "default": "http://www.youtube.com/watch?v=3Y2C8Eleduc&feature=youtube_gdata_player"
    },
    "content": {
     "5": "http://www.youtube.com/v/3Y2C8Eleduc?version=3&f=user_uploads&app=youtube_gdata"
    },
    "duration": 143,
    "aspectRatio": "widescreen",
    "rating": 5.0,
    "likeCount": "2",
    "ratingCount": 2,
    "viewCount": 150,
    "favoriteCount": 0,
    "commentCount": 0,
    "status": {
     "value": "restricted",
     "reason": "limitedSyndication"
    },
    "accessControl": {
     "comment": "allowed",
     "commentVote": "allowed",
     "videoRespond": "moderated",
     "rate": "allowed",
     "embed": "allowed",
     "list": "allowed",
     "autoPlay": "allowed",
     "syndicate": "allowed"
    }
   }
  ]
 }
}
);