public function testSearchWithParameters() { $this->response = <<<'EOL' {"version":"1.0","encoding":"UTF-8","feed":{"xmlns":"http://www.w3.org/2005/Atom","xmlns$media":"http://search.yahoo.com/mrss/","xmlns$openSearch":"http://a9.com/-/spec/opensearch/1.1/","xmlns$gd":"http://schemas.google.com/g/2005","xmlns$yt":"http://gdata.youtube.com/schemas/2007","gd$etag":"W/\"CUAMQH44cSp7I2A9WhFQEUg.\"","id":{"$t":"tag:youtube.com,2008:videos"},"updated":{"$t":"2013-07-06T23:36:21.039Z"},"category":[{"scheme":"http://schemas.google.com/g/2005#kind","term":"http://gdata.youtube.com/schemas/2007#video"}],"title":{"$t":"Videos matching: Minecraft Videos"},"logo":{"$t":"http://www.youtube.com/img/pic_youtubelogo_123x63.gif"},"link":[{"rel":"alternate","type":"text/html","href":"http://www.youtube.com"},{"rel":"http://schemas.google.com/g/2005#feed","type":"application/atom+xml","href":"http://gdata.youtube.com/feeds/api/videos?v=2"},{"rel":"http://schemas.google.com/g/2005#batch","type":"application/atom+xml","href":"http://gdata.youtube.com/feeds/api/videos/batch?v=2"},{"rel":"self","type":"application/atom+xml","href":"http://gdata.youtube.com/feeds/api/videos?alt=json&q=Minecraft+Videos&start-index=11&max-results=10&v=2"},{"rel":"service","type":"application/atomsvc+xml","href":"http://gdata.youtube.com/feeds/api/videos?alt=atom-service&v=2"},{"rel":"previous","type":"application/atom+xml","href":"http://gdata.youtube.com/feeds/api/videos?alt=json&q=Minecraft+Videos&start-index=1&max-results=10&v=2"},{"rel":"next","type":"application/atom+xml","href":"http://gdata.youtube.com/feeds/api/videos?alt=json&q=Minecraft+Videos&start-index=21&max-results=10&v=2"}],"author":[{"name":{"$t":"YouTube"},"uri":{"$t":"http://www.youtube.com/"}}],"generator":{"$t":"YouTube data API","version":"2.1","uri":"http://gdata.youtube.com"},"openSearch$totalResults":{"$t":1000000},"openSearch$startIndex":{"$t":11},"openSearch$itemsPerPage":{"$t":10},"entry":[{"gd$etag":"W/\"CkcNRX47eCp7I2A9WhFQEUw.\"","id":{"$t":"tag:youtube.com,2008:video:l3A7nUZ3aOc"},"published":{"$t":"2013-03-21T19:02:29.000Z"},"updated":{"$t":"2013-07-06T11:28:14.000Z"},"category":[{"scheme":"http://schemas.google.com/g/2005#kind","term":"http://gdata.youtube.com/schemas/2007#video"},{"scheme":"http://gdata.youtube.com/schemas/2007/categories.cat","term":"Games","label":"Game"}],"title":{"$t":"\"I HAD A BABY\" Minecraft Oasis Ep 20"},"content":{"type":"application/x-shockwave-flash","src":"http://www.youtube.com/v/l3A7nUZ3aOc?version=3&f=videos&app=youtube_gdata"},"link":[{"rel":"alternate","type":"text/html","href":"http://www.youtube.com/watch?v=l3A7nUZ3aOc&feature=youtube_gdata"},{"rel":"http://gdata.youtube.com/schemas/2007#video.responses","type":"application/atom+xml","href":"http://gdata.youtube.com/feeds/api/videos/l3A7nUZ3aOc/responses?v=2"},{"rel":"http://gdata.youtube.com/schemas/2007#video.related","type":"application/atom+xml","href":"http://gdata.youtube.com/feeds/api/videos/l3A7nUZ3aOc/related?v=2"},{"rel":"http://gdata.youtube.com/schemas/2007#mobile","type":"text/html","href":"http://m.youtube.com/details?v=l3A7nUZ3aOc"},{"rel":"http://gdata.youtube.com/schemas/2007#uploader","type":"application/atom+xml","href":"http://gdata.youtube.com/feeds/api/users/qg2eLFNUu3QN3dttNeOWkw?v=2"},{"rel":"self","type":"application/atom+xml","href":"http://gdata.youtube.com/feeds/api/videos/l3A7nUZ3aOc?v=2"}],"author":[{"name":{"$t":"iHasCupquake"},"uri":{"$t":"http://gdata.youtube.com/feeds/api/users/iHasCupquake"},"yt$userId":{"$t":"qg2eLFNUu3QN3dttNeOWkw"}}],"yt$accessControl":[{"action":"comment","permission":"allowed"},{"action":"commentVote","permission":"allowed"},{"action":"videoRespond","permission":"moderated"},{"action":"rate","permission":"allowed"},{"action":"embed","permission":"allowed"},{"action":"list","permission":"allowed"},{"action":"autoPlay","permission":"allowed"},{"action":"syndicate","permission":"allowed"}],"gd$comments":{"gd$feedLink":{"rel":"http://gdata.youtube.com/schemas/2007#comments","href":"http://gdata.youtube.com/feeds/api/videos/l3A7nUZ3aOc/comments?v=2","countHint":5906}},"yt$hd":{},"media$group":{"media$category":[{"$t":"Games","label":"Game","scheme":"http://gdata.youtube.com/schemas/2007/categories.cat"}],"media$content":[{"url":"http://www.youtube.com/v/l3A7nUZ3aOc?version=3&f=videos&app=youtube_gdata","type":"application/x-shockwave-flash","medium":"video","isDefault":"true","expression":"full","duration":1319,"yt$format":5},{"url":"rtsp://r18---sn-npo7en7d.c.youtube.com/CiILENy73wIaGQnnaHdGnTtwlxMYDSANFEgGUgZ2aWRlb3MM/0/0/0/video.3gp","type":"video/3gpp","medium":"video","expression":"full","duration":1319,"yt$format":1},{"url":"rtsp://r18---sn-npo7en7d.c.youtube.com/CiILENy73wIaGQnnaHdGnTtwlxMYESARFEgGUgZ2aWRlb3MM/0/0/0/video.3gp","type":"video/3gpp","medium":"video","expression":"full","duration":1319,"yt$format":6}],"media$credit":[{"$t":"ihascupquake","role":"uploader","scheme":"urn:youtube","yt$display":"iHasCupquake","yt$type":"partner"}],"media$description":{"$t":"Baby Joby! Thanks for watching! Leave a like or favorite the video if you enjoyed it! // For the latest videos, Subscribe! http://bit.ly/iHasCupquakeYT // \"I...","type":"plain"},"media$keywords":{},"media$license":{"$t":"youtube","type":"text/html","href":"http://www.youtube.com/t/terms"},"media$player":{"url":"http://www.youtube.com/watch?v=l3A7nUZ3aOc&feature=youtube_gdata_player"},"media$thumbnail":[{"url":"http://i.ytimg.com/vi/l3A7nUZ3aOc/default.jpg","height":90,"width":120,"time":"00:10:59.500","yt$name":"default"},{"url":"http://i.ytimg.com/vi/l3A7nUZ3aOc/mqdefault.jpg","height":180,"width":320,"yt$name":"mqdefault"},{"url":"http://i.ytimg.com/vi/l3A7nUZ3aOc/hqdefault.jpg","height":360,"width":480,"yt$name":"hqdefault"},{"url":"http://i.ytimg.com/vi/l3A7nUZ3aOc/1.jpg","height":90,"width":120,"time":"00:05:29.750","yt$name":"start"},{"url":"http://i.ytimg.com/vi/l3A7nUZ3aOc/2.jpg","height":90,"width":120,"time":"00:10:59.500","yt$name":"middle"},{"url":"http://i.ytimg.com/vi/l3A7nUZ3aOc/3.jpg","height":90,"width":120,"time":"00:16:29.250","yt$name":"end"}],"media$title":{"$t":"\"I HAD A BABY\" Minecraft Oasis Ep 20","type":"plain"},"yt$aspectRatio":{"$t":"widescreen"},"yt$duration":{"seconds":"1319"},"yt$uploaded":{"$t":"2013-03-21T19:02:29.000Z"},"yt$uploaderId":{"$t":"UCqg2eLFNUu3QN3dttNeOWkw"},"yt$videoid":{"$t":"l3A7nUZ3aOc"}},"gd$rating":{"average":4.804361,"max":5,"min":1,"numRaters":8301,"rel":"http://schemas.google.com/g/2005#overall"},"yt$statistics":{"favoriteCount":"0","viewCount":"912068"},"yt$rating":{"numDislikes":"406","numLikes":"7895"}},{"gd$etag":"W/\"C0QBSH47eCp7I2A9WhFQEU4.\"","id":{"$t":"tag:youtube.com,2008:video:ObPY4x8GHQw"},"published":{"$t":"2012-08-22T22:08:54.000Z"},"updated":{"$t":"2013-07-06T17:22:39.000Z"},"category":[{"scheme":"http://schemas.google.com/g/2005#kind","term":"http://gdata.youtube.com/schemas/2007#video"},{"scheme":"http://gdata.youtube.com/schemas/2007/categories.cat","term":"Shows","label":"Acara"}],"title":{"$t":"Minecraft Quick Build Challenge - Human Launching Cannon!"},"content":{"type":"application/x-shockwave-flash","src":"http://www.youtube.com/v/ObPY4x8GHQw?version=3&f=videos&app=youtube_gdata"},"link":[{"rel":"alternate","type":"text/html","href":"http://www.youtube.com/watch?v=ObPY4x8GHQw&feature=youtube_gdata"},{"rel":"http://gdata.youtube.com/schemas/2007#video.responses","type":"application/atom+xml","href":"http://gdata.youtube.com/feeds/api/videos/ObPY4x8GHQw/responses?v=2"},{"rel":"http://gdata.youtube.com/schemas/2007#video.related","type":"application/atom+xml","href":"http://gdata.youtube.com/feeds/api/videos/ObPY4x8GHQw/related?v=2"},{"rel":"http://gdata.youtube.com/schemas/2007#mobile","type":"text/html","href":"http://m.youtube.com/details?v=ObPY4x8GHQw"},{"rel":"http://gdata.youtube.com/schemas/2007#uploader","type":"application/atom+xml","href":"http://gdata.youtube.com/feeds/api/users/VEbcFWM43PS-d5vaSKUMng?v=2"},{"rel":"self","type":"application/atom+xml","href":"http://gdata.youtube.com/feeds/api/videos/ObPY4x8GHQw?v=2"}],"author":[{"name":{"$t":"MachinimaRealm"},"uri":{"$t":"http://gdata.youtube.com/feeds/api/users/MachinimaRealm"},"yt$userId":{"$t":"VEbcFWM43PS-d5vaSKUMng"}}],"yt$accessControl":[{"action":"comment","permission":"allowed"},{"action":"commentVote","permission":"allowed"},{"action":"videoRespond","permission":"moderated"},{"action":"rate","permission":"allowed"},{"action":"embed","permission":"allowed"},{"action":"list","permission":"allowed"},{"action":"autoPlay","permission":"allowed"},{"action":"syndicate","permission":"allowed"}],"gd$comments":{"gd$feedLink":{"rel":"http://gdata.youtube.com/schemas/2007#comments","href":"http://gdata.youtube.com/feeds/api/videos/ObPY4x8GHQw/comments?v=2","countHint":18196}},"yt$episode":{"number":"13"},"yt$firstReleased":{"$t":"2012-08-22T07:00:00.000Z"},"yt$hd":{},"media$group":{"media$category":[{"$t":"Shows","label":"Acara","scheme":"http://gdata.youtube.com/schemas/2007/categories.cat"},{"$t":"3","scheme":"http://gdata.youtube.com/schemas/2007/mediatypes.cat"}],"media$content":[{"url":"http://www.youtube.com/v/ObPY4x8GHQw?version=3&f=videos&app=youtube_gdata","type":"application/x-shockwave-flash","medium":"video","isDefault":"true","expression":"full","duration":849,"yt$format":5},{"url":"rtsp://r9---sn-npo7en7d.c.youtube.com/CiILENy73wIaGQkMHQYf49izORMYDSANFEgGUgZ2aWRlb3MM/0/0/0/video.3gp","type":"video/3gpp","medium":"video","expression":"full","duration":849,"yt$format":1},{"url":"rtsp://r9---sn-npo7en7d.c.youtube.com/CiILENy73wIaGQkMHQYf49izORMYESARFEgGUgZ2aWRlb3MM/0/0/0/video.3gp","type":"video/3gpp","medium":"video","expression":"full","duration":849,"yt$format":6}],"media$credit":[{"$t":"machinimarealm","role":"uploader","scheme":"urn:youtube","yt$display":"MachinimaRealm","yt$type":"partner"}],"media$description":{"$t":"Enjoyed the video? Subscribe! http://tinyurl.com/MachinimaRealm ◅◅◅ Minecraft Quick Build Challenge: Human Launching Cannon! Welcome to another episode o...","type":"plain"},"media$keywords":{},"media$license":{"$t":"youtube","type":"text/html","href":"http://www.youtube.com/t/terms"},"media$player":{"url":"http://www.youtube.com/watch?v=ObPY4x8GHQw&feature=youtube_gdata_player"},"media$thumbnail":[{"url":"http://i.ytimg.com/vi/ObPY4x8GHQw/default.jpg","height":90,"width":120,"time":"00:07:04.500","yt$name":"default"},{"url":"http://i.ytimg.com/vi/ObPY4x8GHQw/mqdefault.jpg","height":180,"width":320,"yt$name":"mqdefault"},{"url":"http://i.ytimg.com/vi/ObPY4x8GHQw/hqdefault.jpg","height":360,"width":480,"yt$name":"hqdefault"},{"url":"http://i.ytimg.com/vi/ObPY4x8GHQw/1.jpg","height":90,"width":120,"time":"00:03:32.250","yt$name":"start"},{"url":"http://i.ytimg.com/vi/ObPY4x8GHQw/2.jpg","height":90,"width":120,"time":"00:07:04.500","yt$name":"middle"},{"url":"http://i.ytimg.com/vi/ObPY4x8GHQw/3.jpg","height":90,"width":120,"time":"00:10:36.750","yt$name":"end"}],"media$title":{"$t":"Minecraft Quick Build Challenge - Human Launching Cannon!","type":"plain"},"yt$aspectRatio":{"$t":"widescreen"},"yt$duration":{"seconds":"849"},"yt$uploaded":{"$t":"2012-08-22T22:08:54.000Z"},"yt$uploaderId":{"$t":"UCVEbcFWM43PS-d5vaSKUMng"},"yt$videoid":{"$t":"ObPY4x8GHQw"}},"gd$rating":{"average":4.8576593,"max":5,"min":1,"numRaters":9962,"rel":"http://schemas.google.com/g/2005#overall"},"yt$statistics":{"favoriteCount":"0","viewCount":"1582581"},"yt$rating":{"numDislikes":"354","numLikes":"9608"}},{"gd$etag":"W/\"CEYBRH47eCp7I2A9WhFQEUw.\"","id":{"$t":"tag:youtube.com,2008:video:UsTxS02JYFM"},"published":{"$t":"2013-04-25T17:00:32.000Z"},"updated":{"$t":"2013-07-06T12:02:35.000Z"},"category":[{"scheme":"http://schemas.google.com/g/2005#kind","term":"http://gdata.youtube.com/schemas/2007#video"},{"scheme":"http://gdata.youtube.com/schemas/2007/categories.cat","term":"Games","label":"Game"}],"title":{"$t":"Minecraft Mini-Game : COPS N ROBBERS 4!"},"content":{"type":"application/x-shockwave-flash","src":"http://www.youtube.com/v/UsTxS02JYFM?version=3&f=videos&app=youtube_gdata"},"link":[{"rel":"alternate","type":"text/html","href":"http://www.youtube.com/watch?v=UsTxS02JYFM&feature=youtube_gdata"},{"rel":"http://gdata.youtube.com/schemas/2007#video.responses","type":"application/atom+xml","href":"http://gdata.youtube.com/feeds/api/videos/UsTxS02JYFM/responses?v=2"},{"rel":"http://gdata.youtube.com/schemas/2007#video.related","type":"application/atom+xml","href":"http://gdata.youtube.com/feeds/api/videos/UsTxS02JYFM/related?v=2"},{"rel":"http://gdata.youtube.com/schemas/2007#mobile","type":"text/html","href":"http://m.youtube.com/details?v=UsTxS02JYFM"},{"rel":"http://gdata.youtube.com/schemas/2007#uploader","type":"application/atom+xml","href":"http://gdata.youtube.com/feeds/api/users/KlhpmbHGxBE6uw9B_uLeqQ?v=2"},{"rel":"self","type":"application/atom+xml","href":"http://gdata.youtube.com/feeds/api/videos/UsTxS02JYFM?v=2"}],"author":[{"name":{"$t":"SkyDoesMinecraft"},"uri":{"$t":"http://gdata.youtube.com/feeds/api/users/SkyDoesMinecraft"},"yt$userId":{"$t":"KlhpmbHGxBE6uw9B_uLeqQ"}}],"yt$accessControl":[{"action":"comment","permission":"allowed"},{"action":"commentVote","permission":"allowed"},{"action":"videoRespond","permission":"moderated"},{"action":"rate","permission":"allowed"},{"action":"embed","permission":"allowed"},{"action":"list","permission":"allowed"},{"action":"autoPlay","permission":"allowed"},{"action":"syndicate","permission":"allowed"}],"gd$comments":{"gd$feedLink":{"rel":"http://gdata.youtube.com/schemas/2007#comments","href":"http://gdata.youtube.com/feeds/api/videos/UsTxS02JYFM/comments?v=2","countHint":17804}},"yt$hd":{},"media$group":{"media$category":[{"$t":"Games","label":"Game","scheme":"http://gdata.youtube.com/schemas/2007/categories.cat"}],"media$content":[{"url":"http://www.youtube.com/v/UsTxS02JYFM?version=3&f=videos&app=youtube_gdata","type":"application/x-shockwave-flash","medium":"video","isDefault":"true","expression":"full","duration":1614,"yt$format":5},{"url":"rtsp://r9---sn-npo7enel.c.youtube.com/CiILENy73wIaGQlTYIlNS_HEUhMYDSANFEgGUgZ2aWRlb3MM/0/0/0/video.3gp","type":"video/3gpp","medium":"video","expression":"full","duration":1614,"yt$format":1},{"url":"rtsp://r9---sn-npo7enel.c.youtube.com/CiILENy73wIaGQlTYIlNS_HEUhMYESARFEgGUgZ2aWRlb3MM/0/0/0/video.3gp","type":"video/3gpp","medium":"video","expression":"full","duration":1614,"yt$format":6}],"media$credit":[{"$t":"skydoesminecraft","role":"uploader","scheme":"urn:youtube","yt$display":"SkyDoesMinecraft","yt$type":"partner"}],"media$description":{"$t":"GOD I LOVE DIS GAME! JOIN THE ROBBERS AS THEY TRY AND ESCAPE THE PRISON! HOWEVER...THE COP CAN KILL THEM AT ANYTIME! CAN THEY FIND A WAY TO ESCAPE?! PodCrash...","type":"plain"},"media$keywords":{},"media$license":{"$t":"youtube","type":"text/html","href":"http://www.youtube.com/t/terms"},"media$player":{"url":"http://www.youtube.com/watch?v=UsTxS02JYFM&feature=youtube_gdata_player"},"media$thumbnail":[{"url":"http://i.ytimg.com/vi/UsTxS02JYFM/default.jpg","height":90,"width":120,"time":"00:13:27","yt$name":"default"},{"url":"http://i.ytimg.com/vi/UsTxS02JYFM/mqdefault.jpg","height":180,"width":320,"yt$name":"mqdefault"},{"url":"http://i.ytimg.com/vi/UsTxS02JYFM/hqdefault.jpg","height":360,"width":480,"yt$name":"hqdefault"},{"url":"http://i.ytimg.com/vi/UsTxS02JYFM/sddefault.jpg","height":480,"width":640,"yt$name":"sddefault"},{"url":"http://i.ytimg.com/vi/UsTxS02JYFM/1.jpg","height":90,"width":120,"time":"00:06:43.500","yt$name":"start"},{"url":"http://i.ytimg.com/vi/UsTxS02JYFM/2.jpg","height":90,"width":120,"time":"00:13:27","yt$name":"middle"},{"url":"http://i.ytimg.com/vi/UsTxS02JYFM/3.jpg","height":90,"width":120,"time":"00:20:10.500","yt$name":"end"}],"media$title":{"$t":"Minecraft Mini-Game : COPS N ROBBERS 4!","type":"plain"},"yt$aspectRatio":{"$t":"widescreen"},"yt$duration":{"seconds":"1614"},"yt$uploaded":{"$t":"2013-04-25T17:00:32.000Z"},"yt$uploaderId":{"$t":"UCKlhpmbHGxBE6uw9B_uLeqQ"},"yt$videoid":{"$t":"UsTxS02JYFM"}},"gd$rating":{"average":4.857676,"max":5,"min":1,"numRaters":44490,"rel":"http://schemas.google.com/g/2005#overall"},"yt$statistics":{"favoriteCount":"0","viewCount":"3735767"},"yt$rating":{"numDislikes":"1583","numLikes":"42907"}},{"gd$etag":"W/\"CEEBSH47eCp7I2A9WhFQEUw.\"","id":{"$t":"tag:youtube.com,2008:video:cPJUBQd-PNM"},"published":{"$t":"2011-08-19T17:18:09.000Z"},"updated":{"$t":"2013-07-06T12:10:59.000Z"},"category":[{"scheme":"http://schemas.google.com/g/2005#kind","term":"http://gdata.youtube.com/schemas/2007#video"},{"scheme":"http://gdata.youtube.com/schemas/2007/categories.cat","term":"Music","label":"Musik"}],"title":{"$t":"\"Revenge\" - A Minecraft Parody of Usher's DJ Got Us Fallin' in Love - Crafted Using Noteblocks"},"content":{"type":"application/x-shockwave-flash","src":"http://www.youtube.com/v/cPJUBQd-PNM?version=3&f=videos&app=youtube_gdata"},"link":[{"rel":"alternate","type":"text/html","href":"http://www.youtube.com/watch?v=cPJUBQd-PNM&feature=youtube_gdata"},{"rel":"http://gdata.youtube.com/schemas/2007#video.responses","type":"application/atom+xml","href":"http://gdata.youtube.com/feeds/api/videos/cPJUBQd-PNM/responses?v=2"},{"rel":"http://gdata.youtube.com/schemas/2007#video.related","type":"application/atom+xml","href":"http://gdata.youtube.com/feeds/api/videos/cPJUBQd-PNM/related?v=2"},{"rel":"http://gdata.youtube.com/schemas/2007#mobile","type":"text/html","href":"http://m.youtube.com/details?v=cPJUBQd-PNM"},{"rel":"http://gdata.youtube.com/schemas/2007#uploader","type":"application/atom+xml","href":"http://gdata.youtube.com/feeds/api/users/shoKvlZGZ20rVgazZp5vnQ?v=2"},{"rel":"self","type":"application/atom+xml","href":"http://gdata.youtube.com/feeds/api/videos/cPJUBQd-PNM?v=2"}],"author":[{"name":{"$t":"CaptainSparklez"},"uri":{"$t":"http://gdata.youtube.com/feeds/api/users/CaptainSparklez"},"yt$userId":{"$t":"shoKvlZGZ20rVgazZp5vnQ"}}],"yt$accessControl":[{"action":"comment","permission":"allowed"},{"action":"commentVote","permission":"allowed"},{"action":"videoRespond","permission":"denied"},{"action":"rate","permission":"allowed"},{"action":"embed","permission":"allowed"},{"action":"list","permission":"allowed"},{"action":"autoPlay","permission":"allowed"},{"action":"syndicate","permission":"allowed"}],"gd$comments":{"gd$feedLink":{"rel":"http://gdata.youtube.com/schemas/2007#comments","href":"http://gdata.youtube.com/feeds/api/videos/cPJUBQd-PNM/comments?v=2","countHint":413199}},"yt$hd":{},"media$group":{"media$category":[{"$t":"Music","label":"Musik","scheme":"http://gdata.youtube.com/schemas/2007/categories.cat"}],"media$content":[{"url":"http://www.youtube.com/v/cPJUBQd-PNM?version=3&f=videos&app=youtube_gdata","type":"application/x-shockwave-flash","medium":"video","isDefault":"true","expression":"full","duration":265,"yt$format":5},{"url":"rtsp://r16---sn-npo7enes.c.youtube.com/CiILENy73wIaGQnTPH4HBVTycBMYDSANFEgGUgZ2aWRlb3MM/0/0/0/video.3gp","type":"video/3gpp","medium":"video","expression":"full","duration":265,"yt$format":1},{"url":"rtsp://r16---sn-npo7enes.c.youtube.com/CiILENy73wIaGQnTPH4HBVTycBMYESARFEgGUgZ2aWRlb3MM/0/0/0/video.3gp","type":"video/3gpp","medium":"video","expression":"full","duration":265,"yt$format":6}],"media$credit":[{"$t":"captainsparklez","role":"uploader","scheme":"urn:youtube","yt$display":"CaptainSparklez","yt$type":"partner"}],"media$description":{"$t":"Download the song! http://bit.ly/TATnl0 The people involved: TryHardNinja - Usher's vocals: http://www.youtube.com/user/TryHardNinja Doc Exx - audio producti...","type":"plain"},"media$keywords":{},"media$license":{"$t":"youtube","type":"text/html","href":"http://www.youtube.com/t/terms"},"media$player":{"url":"http://www.youtube.com/watch?v=cPJUBQd-PNM&feature=youtube_gdata_player"},"media$thumbnail":[{"url":"http://i.ytimg.com/vi/cPJUBQd-PNM/default.jpg","height":90,"width":120,"time":"00:02:12.500","yt$name":"default"},{"url":"http://i.ytimg.com/vi/cPJUBQd-PNM/mqdefault.jpg","height":180,"width":320,"yt$name":"mqdefault"},{"url":"http://i.ytimg.com/vi/cPJUBQd-PNM/hqdefault.jpg","height":360,"width":480,"yt$name":"hqdefault"},{"url":"http://i.ytimg.com/vi/cPJUBQd-PNM/sddefault.jpg","height":480,"width":640,"yt$name":"sddefault"},{"url":"http://i.ytimg.com/vi/cPJUBQd-PNM/1.jpg","height":90,"width":120,"time":"00:01:06.250","yt$name":"start"},{"url":"http://i.ytimg.com/vi/cPJUBQd-PNM/2.jpg","height":90,"width":120,"time":"00:02:12.500","yt$name":"middle"},{"url":"http://i.ytimg.com/vi/cPJUBQd-PNM/3.jpg","height":90,"width":120,"time":"00:03:18.750","yt$name":"end"}],"media$title":{"$t":"\"Revenge\" - A Minecraft Parody of Usher's DJ Got Us Fallin' in Love - Crafted Using Noteblocks","type":"plain"},"yt$aspectRatio":{"$t":"widescreen"},"yt$duration":{"seconds":"265"},"yt$uploaded":{"$t":"2011-08-19T17:18:09.000Z"},"yt$uploaderId":{"$t":"UCshoKvlZGZ20rVgazZp5vnQ"},"yt$videoid":{"$t":"cPJUBQd-PNM"}},"gd$rating":{"average":4.9057374,"max":5,"min":1,"numRaters":852140,"rel":"http://schemas.google.com/g/2005#overall"},"yt$statistics":{"favoriteCount":"0","viewCount":"106539715"},"yt$rating":{"numDislikes":"20081","numLikes":"832059"}},{"gd$etag":"W/\"Ak4BQX47eCp7I2A9WhFQEEU.\"","id":{"$t":"tag:youtube.com,2008:video:QOdh_fINAjU"},"published":{"$t":"2011-06-23T07:01:57.000Z"},"updated":{"$t":"2013-07-06T05:35:50.000Z"},"category":[{"scheme":"http://schemas.google.com/g/2005#kind","term":"http://gdata.youtube.com/schemas/2007#video"},{"scheme":"http://gdata.youtube.com/schemas/2007/categories.cat","term":"Shows","label":"Acara"}],"title":{"$t":"Minecraft Survival - Hostile Paradise"},"content":{"type":"application/x-shockwave-flash","src":"http://www.youtube.com/v/QOdh_fINAjU?version=3&f=videos&app=youtube_gdata"},"link":[{"rel":"alternate","type":"text/html","href":"http://www.youtube.com/watch?v=QOdh_fINAjU&feature=youtube_gdata"},{"rel":"http://gdata.youtube.com/schemas/2007#video.responses","type":"application/atom+xml","href":"http://gdata.youtube.com/feeds/api/videos/QOdh_fINAjU/responses?v=2"},{"rel":"http://gdata.youtube.com/schemas/2007#video.related","type":"application/atom+xml","href":"http://gdata.youtube.com/feeds/api/videos/QOdh_fINAjU/related?v=2"},{"rel":"http://gdata.youtube.com/schemas/2007#mobile","type":"text/html","href":"http://m.youtube.com/details?v=QOdh_fINAjU"},{"rel":"http://gdata.youtube.com/schemas/2007#uploader","type":"application/atom+xml","href":"http://gdata.youtube.com/feeds/api/users/zJ3fz15AqCNLlrQYEF5nlg?v=2"},{"rel":"self","type":"application/atom+xml","href":"http://gdata.youtube.com/feeds/api/videos/QOdh_fINAjU?v=2"}],"author":[{"name":{"$t":"PaperBatVG"},"uri":{"$t":"http://gdata.youtube.com/feeds/api/users/PaperBatVG"},"yt$userId":{"$t":"zJ3fz15AqCNLlrQYEF5nlg"}}],"yt$accessControl":[{"action":"comment","permission":"allowed"},{"action":"commentVote","permission":"allowed"},{"action":"videoRespond","permission":"allowed"},{"action":"rate","permission":"allowed"},{"action":"embed","permission":"allowed"},{"action":"list","permission":"allowed"},{"action":"autoPlay","permission":"allowed"},{"action":"syndicate","permission":"allowed"}],"gd$comments":{"gd$feedLink":{"rel":"http://gdata.youtube.com/schemas/2007#comments","href":"http://gdata.youtube.com/feeds/api/videos/QOdh_fINAjU/comments?v=2","countHint":11468}},"yt$episode":{"number":"32"},"yt$firstReleased":{"$t":"2011-06-23T07:00:00.000Z"},"yt$hd":{},"media$group":{"media$category":[{"$t":"Shows","label":"Acara","scheme":"http://gdata.youtube.com/schemas/2007/categories.cat"},{"$t":"3","scheme":"http://gdata.youtube.com/schemas/2007/mediatypes.cat"}],"media$content":[{"url":"http://www.youtube.com/v/QOdh_fINAjU?version=3&f=videos&app=youtube_gdata","type":"application/x-shockwave-flash","medium":"video","isDefault":"true","expression":"full","duration":4349,"yt$format":5},{"url":"rtsp://r6---sn-npo7en7d.c.youtube.com/CiILENy73wIaGQk1Ag3y_WHnQBMYDSANFEgGUgZ2aWRlb3MM/0/0/0/video.3gp","type":"video/3gpp","medium":"video","expression":"full","duration":4349,"yt$format":1},{"url":"rtsp://r6---sn-npo7en7d.c.youtube.com/CiILENy73wIaGQk1Ag3y_WHnQBMYESARFEgGUgZ2aWRlb3MM/0/0/0/video.3gp","type":"video/3gpp","medium":"video","expression":"full","duration":4349,"yt$format":6}],"media$credit":[{"$t":"paperbatvg","role":"uploader","scheme":"urn:youtube","yt$display":"PaperBatVG","yt$type":"partner"}],"media$description":{"$t":"Time to explore a whole new world.","type":"plain"},"media$keywords":{},"media$license":{"$t":"youtube","type":"text/html","href":"http://www.youtube.com/t/terms"},"media$player":{"url":"http://www.youtube.com/watch?v=QOdh_fINAjU&feature=youtube_gdata_player"},"media$rating":[{"$t":"pg","scheme":"urn:v-chip"}],"media$thumbnail":[{"url":"http://i.ytimg.com/vi/QOdh_fINAjU/default.jpg","height":90,"width":120,"time":"00:36:14.500","yt$name":"default"},{"url":"http://i.ytimg.com/vi/QOdh_fINAjU/mqdefault.jpg","height":180,"width":320,"yt$name":"mqdefault"},{"url":"http://i.ytimg.com/vi/QOdh_fINAjU/hqdefault.jpg","height":360,"width":480,"yt$name":"hqdefault"},{"url":"http://i.ytimg.com/vi/QOdh_fINAjU/sddefault.jpg","height":480,"width":640,"yt$name":"sddefault"},{"url":"http://i.ytimg.com/vi/QOdh_fINAjU/1.jpg","height":90,"width":120,"time":"00:18:07.250","yt$name":"start"},{"url":"http://i.ytimg.com/vi/QOdh_fINAjU/2.jpg","height":90,"width":120,"time":"00:36:14.500","yt$name":"middle"},{"url":"http://i.ytimg.com/vi/QOdh_fINAjU/3.jpg","height":90,"width":120,"time":"00:54:21.750","yt$name":"end"}],"media$title":{"$t":"Minecraft Survival - Hostile Paradise","type":"plain"},"yt$aspectRatio":{"$t":"widescreen"},"yt$duration":{"seconds":"4349"},"yt$uploaded":{"$t":"2011-06-23T07:01:57.000Z"},"yt$uploaderId":{"$t":"UCzJ3fz15AqCNLlrQYEF5nlg"},"yt$videoid":{"$t":"QOdh_fINAjU"}},"gd$rating":{"average":4.9607096,"max":5,"min":1,"numRaters":38661,"rel":"http://schemas.google.com/g/2005#overall"},"yt$statistics":{"favoriteCount":"0","viewCount":"686625"},"yt$rating":{"numDislikes":"380","numLikes":"38281"}},{"gd$etag":"W/\"D0QHSX47eCp7I2A9WhFQEEo.\"","id":{"$t":"tag:youtube.com,2008:video:CCy87q-TI4Q"},"published":{"$t":"2012-05-02T18:01:48.000Z"},"updated":{"$t":"2013-07-06T01:48:58.000Z"},"category":[{"scheme":"http://schemas.google.com/g/2005#kind","term":"http://gdata.youtube.com/schemas/2007#video"},{"scheme":"http://gdata.youtube.com/schemas/2007/categories.cat","term":"Games","label":"Game"}],"title":{"$t":"Minecraft - TOBUSCUS STONE"},"content":{"type":"application/x-shockwave-flash","src":"http://www.youtube.com/v/CCy87q-TI4Q?version=3&f=videos&app=youtube_gdata"},"link":[{"rel":"alternate","type":"text/html","href":"http://www.youtube.com/watch?v=CCy87q-TI4Q&feature=youtube_gdata"},{"rel":"http://gdata.youtube.com/schemas/2007#video.responses","type":"application/atom+xml","href":"http://gdata.youtube.com/feeds/api/videos/CCy87q-TI4Q/responses?v=2"},{"rel":"http://gdata.youtube.com/schemas/2007#video.related","type":"application/atom+xml","href":"http://gdata.youtube.com/feeds/api/videos/CCy87q-TI4Q/related?v=2"},{"rel":"http://gdata.youtube.com/schemas/2007#mobile","type":"text/html","href":"http://m.youtube.com/details?v=CCy87q-TI4Q"},{"rel":"http://gdata.youtube.com/schemas/2007#uploader","type":"application/atom+xml","href":"http://gdata.youtube.com/feeds/api/users/LCmJiSbIoa_ZFiBOBDf6ZA?v=2"},{"rel":"self","type":"application/atom+xml","href":"http://gdata.youtube.com/feeds/api/videos/CCy87q-TI4Q?v=2"}],"author":[{"name":{"$t":"TobyGames"},"uri":{"$t":"http://gdata.youtube.com/feeds/api/users/TobyGames"},"yt$userId":{"$t":"LCmJiSbIoa_ZFiBOBDf6ZA"}}],"yt$accessControl":[{"action":"comment","permission":"allowed"},{"action":"commentVote","permission":"allowed"},{"action":"videoRespond","permission":"allowed"},{"action":"rate","permission":"allowed"},{"action":"embed","permission":"allowed"},{"action":"list","permission":"allowed"},{"action":"autoPlay","permission":"allowed"},{"action":"syndicate","permission":"allowed"}],"gd$comments":{"gd$feedLink":{"rel":"http://gdata.youtube.com/schemas/2007#comments","href":"http://gdata.youtube.com/feeds/api/videos/CCy87q-TI4Q/comments?v=2","countHint":2954}},"yt$hd":{},"media$group":{"media$category":[{"$t":"Games","label":"Game","scheme":"http://gdata.youtube.com/schemas/2007/categories.cat"}],"media$content":[{"url":"http://www.youtube.com/v/CCy87q-TI4Q?version=3&f=videos&app=youtube_gdata","type":"application/x-shockwave-flash","medium":"video","isDefault":"true","expression":"full","duration":616,"yt$format":5},{"url":"rtsp://r16---sn-npo7en7k.c.youtube.com/CiILENy73wIaGQmEI5Ov7rwsCBMYDSANFEgGUgZ2aWRlb3MM/0/0/0/video.3gp","type":"video/3gpp","medium":"video","expression":"full","duration":616,"yt$format":1},{"url":"rtsp://r16---sn-npo7en7k.c.youtube.com/CiILENy73wIaGQmEI5Ov7rwsCBMYESARFEgGUgZ2aWRlb3MM/0/0/0/video.3gp","type":"video/3gpp","medium":"video","expression":"full","duration":616,"yt$format":6}],"media$credit":[{"$t":"tobygames","role":"uploader","scheme":"urn:youtube","yt$display":"TobyGames","yt$type":"partner"}],"media$description":{"$t":"SIGNED POSTERS ARE HERE! http://www.forhumanpeoples.com/products/tobuscus-drw-poster (you gotta select signed in the drop down!) Order Tobuscus zip hoodies h...","type":"plain"},"media$keywords":{},"media$license":{"$t":"youtube","type":"text/html","href":"http://www.youtube.com/t/terms"},"media$player":{"url":"http://www.youtube.com/watch?v=CCy87q-TI4Q&feature=youtube_gdata_player"},"media$thumbnail":[{"url":"http://i.ytimg.com/vi/CCy87q-TI4Q/default.jpg","height":90,"width":120,"time":"00:05:08","yt$name":"default"},{"url":"http://i.ytimg.com/vi/CCy87q-TI4Q/mqdefault.jpg","height":180,"width":320,"yt$name":"mqdefault"},{"url":"http://i.ytimg.com/vi/CCy87q-TI4Q/hqdefault.jpg","height":360,"width":480,"yt$name":"hqdefault"},{"url":"http://i.ytimg.com/vi/CCy87q-TI4Q/sddefault.jpg","height":480,"width":640,"yt$name":"sddefault"},{"url":"http://i.ytimg.com/vi/CCy87q-TI4Q/1.jpg","height":90,"width":120,"time":"00:02:34","yt$name":"start"},{"url":"http://i.ytimg.com/vi/CCy87q-TI4Q/2.jpg","height":90,"width":120,"time":"00:05:08","yt$name":"middle"},{"url":"http://i.ytimg.com/vi/CCy87q-TI4Q/3.jpg","height":90,"width":120,"time":"00:07:42","yt$name":"end"}],"media$title":{"$t":"Minecraft - TOBUSCUS STONE","type":"plain"},"yt$aspectRatio":{"$t":"widescreen"},"yt$duration":{"seconds":"616"},"yt$uploaded":{"$t":"2012-05-02T18:01:48.000Z"},"yt$uploaderId":{"$t":"UCLCmJiSbIoa_ZFiBOBDf6ZA"},"yt$videoid":{"$t":"CCy87q-TI4Q"}},"gd$rating":{"average":4.8774323,"max":5,"min":1,"numRaters":4985,"rel":"http://schemas.google.com/g/2005#overall"},"yt$statistics":{"favoriteCount":"0","viewCount":"995413"},"yt$rating":{"numDislikes":"153","numLikes":"4832"}},{"gd$etag":"W/\"AkMBQn47eCp7I2A9WhFQEU0.\"","id":{"$t":"tag:youtube.com,2008:video:Xj446LPEy7E"},"published":{"$t":"2011-10-14T19:43:06.000Z"},"updated":{"$t":"2013-07-06T11:00:53.000Z"},"category":[{"scheme":"http://schemas.google.com/g/2005#kind","term":"http://gdata.youtube.com/schemas/2007#video"},{"scheme":"http://gdata.youtube.com/schemas/2007/categories.cat","term":"Shows","label":"Acara"}],"title":{"$t":"Minecraft - Weeping Angels Mod Spotlight"},"content":{"type":"application/x-shockwave-flash","src":"http://www.youtube.com/v/Xj446LPEy7E?version=3&f=videos&app=youtube_gdata"},"link":[{"rel":"alternate","type":"text/html","href":"http://www.youtube.com/watch?v=Xj446LPEy7E&feature=youtube_gdata"},{"rel":"http://gdata.youtube.com/schemas/2007#video.responses","type":"application/atom+xml","href":"http://gdata.youtube.com/feeds/api/videos/Xj446LPEy7E/responses?v=2"},{"rel":"http://gdata.youtube.com/schemas/2007#video.related","type":"application/atom+xml","href":"http://gdata.youtube.com/feeds/api/videos/Xj446LPEy7E/related?v=2"},{"rel":"http://gdata.youtube.com/schemas/2007#mobile","type":"text/html","href":"http://m.youtube.com/details?v=Xj446LPEy7E"},{"rel":"http://gdata.youtube.com/schemas/2007#uploader","type":"application/atom+xml","href":"http://gdata.youtube.com/feeds/api/users/H-_hzb2ILSCo9ftVSnrCIQ?v=2"},{"rel":"self","type":"application/atom+xml","href":"http://gdata.youtube.com/feeds/api/videos/Xj446LPEy7E?v=2"}],"author":[{"name":{"$t":"YOGSCAST Lewis & Simon"},"uri":{"$t":"http://gdata.youtube.com/feeds/api/users/BlueXephos"},"yt$userId":{"$t":"H-_hzb2ILSCo9ftVSnrCIQ"}}],"yt$accessControl":[{"action":"comment","permission":"allowed"},{"action":"commentVote","permission":"allowed"},{"action":"videoRespond","permission":"moderated"},{"action":"rate","permission":"allowed"},{"action":"embed","permission":"allowed"},{"action":"list","permission":"allowed"},{"action":"autoPlay","permission":"allowed"},{"action":"syndicate","permission":"allowed"}],"gd$comments":{"gd$feedLink":{"rel":"http://gdata.youtube.com/schemas/2007#comments","href":"http://gdata.youtube.com/feeds/api/videos/Xj446LPEy7E/comments?v=2","countHint":19297}},"yt$episode":{"number":"53"},"yt$firstReleased":{"$t":"2011-10-13T07:00:00.000Z"},"yt$hd":{},"media$group":{"media$category":[{"$t":"Shows","label":"Acara","scheme":"http://gdata.youtube.com/schemas/2007/categories.cat"},{"$t":"3","scheme":"http://gdata.youtube.com/schemas/2007/mediatypes.cat"}],"media$content":[{"url":"http://www.youtube.com/v/Xj446LPEy7E?version=3&f=videos&app=youtube_gdata","type":"application/x-shockwave-flash","medium":"video","isDefault":"true","expression":"full","duration":661,"yt$format":5},{"url":"rtsp://r6---sn-npo7en7r.c.youtube.com/CiILENy73wIaGQmxy8Sz6Dg-XhMYDSANFEgGUgZ2aWRlb3MM/0/0/0/video.3gp","type":"video/3gpp","medium":"video","expression":"full","duration":661,"yt$format":1},{"url":"rtsp://r6---sn-npo7en7r.c.youtube.com/CiILENy73wIaGQmxy8Sz6Dg-XhMYESARFEgGUgZ2aWRlb3MM/0/0/0/video.3gp","type":"video/3gpp","medium":"video","expression":"full","duration":661,"yt$format":6}],"media$credit":[{"$t":"bluexephos","role":"uploader","scheme":"urn:youtube","yt$display":"YOGSCAST Lewis & Simon","yt$type":"partner"}],"media$description":{"$t":"Oh God, now they're in Minecraft too! If you don't know what the weeping angels are, they're from Doctor Who, go check it out. http://www.minecraftforum.net/...","type":"plain"},"media$keywords":{},"media$license":{"$t":"youtube","type":"text/html","href":"http://www.youtube.com/t/terms"},"media$player":{"url":"http://www.youtube.com/watch?v=Xj446LPEy7E&feature=youtube_gdata_player"},"media$rating":[{"$t":"tv-y","scheme":"urn:v-chip"}],"media$thumbnail":[{"url":"http://i.ytimg.com/vi/Xj446LPEy7E/default.jpg","height":90,"width":120,"time":"00:05:30.500","yt$name":"default"},{"url":"http://i.ytimg.com/vi/Xj446LPEy7E/mqdefault.jpg","height":180,"width":320,"yt$name":"mqdefault"},{"url":"http://i.ytimg.com/vi/Xj446LPEy7E/hqdefault.jpg","height":360,"width":480,"yt$name":"hqdefault"},{"url":"http://i.ytimg.com/vi/Xj446LPEy7E/sddefault.jpg","height":480,"width":640,"yt$name":"sddefault"},{"url":"http://i.ytimg.com/vi/Xj446LPEy7E/1.jpg","height":90,"width":120,"time":"00:02:45.250","yt$name":"start"},{"url":"http://i.ytimg.com/vi/Xj446LPEy7E/2.jpg","height":90,"width":120,"time":"00:05:30.500","yt$name":"middle"},{"url":"http://i.ytimg.com/vi/Xj446LPEy7E/3.jpg","height":90,"width":120,"time":"00:08:15.750","yt$name":"end"}],"media$title":{"$t":"Minecraft - Weeping Angels Mod Spotlight","type":"plain"},"yt$aspectRatio":{"$t":"widescreen"},"yt$duration":{"seconds":"661"},"yt$uploaded":{"$t":"2011-10-14T19:43:06.000Z"},"yt$uploaderId":{"$t":"UCH-_hzb2ILSCo9ftVSnrCIQ"},"yt$videoid":{"$t":"Xj446LPEy7E"}},"gd$rating":{"average":4.9305744,"max":5,"min":1,"numRaters":28419,"rel":"http://schemas.google.com/g/2005#overall"},"yt$statistics":{"favoriteCount":"0","viewCount":"4149998"},"yt$rating":{"numDislikes":"493","numLikes":"27926"}},{"gd$etag":"W/\"CUcERn47eCp7I2A9WhFQEUw.\"","id":{"$t":"tag:youtube.com,2008:video:JJwyACPub3Q"},"published":{"$t":"2013-03-01T18:01:59.000Z"},"updated":{"$t":"2013-07-06T12:16:47.000Z"},"category":[{"scheme":"http://schemas.google.com/g/2005#kind","term":"http://gdata.youtube.com/schemas/2007#video"},{"scheme":"http://gdata.youtube.com/schemas/2007/categories.cat","term":"Games","label":"Game"}],"title":{"$t":"Minecraft: Parkour FAILURE!"},"content":{"type":"application/x-shockwave-flash","src":"http://www.youtube.com/v/JJwyACPub3Q?version=3&f=videos&app=youtube_gdata"},"link":[{"rel":"alternate","type":"text/html","href":"http://www.youtube.com/watch?v=JJwyACPub3Q&feature=youtube_gdata"},{"rel":"http://gdata.youtube.com/schemas/2007#video.responses","type":"application/atom+xml","href":"http://gdata.youtube.com/feeds/api/videos/JJwyACPub3Q/responses?v=2"},{"rel":"http://gdata.youtube.com/schemas/2007#video.related","type":"application/atom+xml","href":"http://gdata.youtube.com/feeds/api/videos/JJwyACPub3Q/related?v=2"},{"rel":"http://gdata.youtube.com/schemas/2007#mobile","type":"text/html","href":"http://m.youtube.com/details?v=JJwyACPub3Q"},{"rel":"http://gdata.youtube.com/schemas/2007#uploader","type":"application/atom+xml","href":"http://gdata.youtube.com/feeds/api/users/KlhpmbHGxBE6uw9B_uLeqQ?v=2"},{"rel":"self","type":"application/atom+xml","href":"http://gdata.youtube.com/feeds/api/videos/JJwyACPub3Q?v=2"}],"author":[{"name":{"$t":"SkyDoesMinecraft"},"uri":{"$t":"http://gdata.youtube.com/feeds/api/users/SkyDoesMinecraft"},"yt$userId":{"$t":"KlhpmbHGxBE6uw9B_uLeqQ"}}],"yt$accessControl":[{"action":"comment","permission":"allowed"},{"action":"commentVote","permission":"allowed"},{"action":"videoRespond","permission":"moderated"},{"action":"rate","permission":"allowed"},{"action":"embed","permission":"allowed"},{"action":"list","permission":"allowed"},{"action":"autoPlay","permission":"allowed"},{"action":"syndicate","permission":"allowed"}],"gd$comments":{"gd$feedLink":{"rel":"http://gdata.youtube.com/schemas/2007#comments","href":"http://gdata.youtube.com/feeds/api/videos/JJwyACPub3Q/comments?v=2","countHint":11929}},"yt$hd":{},"media$group":{"media$category":[{"$t":"Games","label":"Game","scheme":"http://gdata.youtube.com/schemas/2007/categories.cat"}],"media$content":[{"url":"http://www.youtube.com/v/JJwyACPub3Q?version=3&f=videos&app=youtube_gdata","type":"application/x-shockwave-flash","medium":"video","isDefault":"true","expression":"full","duration":1163,"yt$format":5},{"url":"rtsp://r9---sn-npo7enee.c.youtube.com/CiILENy73wIaGQl0b-4jADKcJBMYDSANFEgGUgZ2aWRlb3MM/0/0/0/video.3gp","type":"video/3gpp","medium":"video","expression":"full","duration":1163,"yt$format":1},{"url":"rtsp://r9---sn-npo7enee.c.youtube.com/CiILENy73wIaGQl0b-4jADKcJBMYESARFEgGUgZ2aWRlb3MM/0/0/0/video.3gp","type":"video/3gpp","medium":"video","expression":"full","duration":1163,"yt$format":6}],"media$credit":[{"$t":"skydoesminecraft","role":"uploader","scheme":"urn:youtube","yt$display":"SkyDoesMinecraft","yt$type":"partner"}],"media$description":{"$t":"Join Sky, Deadlox and HuskyMudkipz in a basic tutorial on how to Parkour!...THIS IS A TUTORIAL!? THIS IS THE MOST ENRAGING THING EVER!?!!!@#$@ Friends Channe...","type":"plain"},"media$keywords":{},"media$license":{"$t":"youtube","type":"text/html","href":"http://www.youtube.com/t/terms"},"media$player":{"url":"http://www.youtube.com/watch?v=JJwyACPub3Q&feature=youtube_gdata_player"},"media$thumbnail":[{"url":"http://i.ytimg.com/vi/JJwyACPub3Q/default.jpg","height":90,"width":120,"time":"00:09:41.500","yt$name":"default"},{"url":"http://i.ytimg.com/vi/JJwyACPub3Q/mqdefault.jpg","height":180,"width":320,"yt$name":"mqdefault"},{"url":"http://i.ytimg.com/vi/JJwyACPub3Q/hqdefault.jpg","height":360,"width":480,"yt$name":"hqdefault"},{"url":"http://i.ytimg.com/vi/JJwyACPub3Q/sddefault.jpg","height":480,"width":640,"yt$name":"sddefault"},{"url":"http://i.ytimg.com/vi/JJwyACPub3Q/1.jpg","height":90,"width":120,"time":"00:04:50.750","yt$name":"start"},{"url":"http://i.ytimg.com/vi/JJwyACPub3Q/2.jpg","height":90,"width":120,"time":"00:09:41.500","yt$name":"middle"},{"url":"http://i.ytimg.com/vi/JJwyACPub3Q/3.jpg","height":90,"width":120,"time":"00:14:32.250","yt$name":"end"}],"media$title":{"$t":"Minecraft: Parkour FAILURE!","type":"plain"},"yt$aspectRatio":{"$t":"widescreen"},"yt$duration":{"seconds":"1163"},"yt$uploaded":{"$t":"2013-03-01T18:01:59.000Z"},"yt$uploaderId":{"$t":"UCKlhpmbHGxBE6uw9B_uLeqQ"},"yt$videoid":{"$t":"JJwyACPub3Q"}},"gd$rating":{"average":4.8219614,"max":5,"min":1,"numRaters":22849,"rel":"http://schemas.google.com/g/2005#overall"},"yt$statistics":{"favoriteCount":"0","viewCount":"1917291"},"yt$rating":{"numDislikes":"1017","numLikes":"21832"}},{"gd$etag":"W/\"CE4GRn47eCp7I2A9WhFQEU4.\"","id":{"$t":"tag:youtube.com,2008:video:I-sH53vXP2A"},"published":{"$t":"2012-04-01T20:45:30.000Z"},"updated":{"$t":"2013-07-06T17:48:47.000Z"},"category":[{"scheme":"http://schemas.google.com/g/2005#kind","term":"http://gdata.youtube.com/schemas/2007#video"},{"scheme":"http://gdata.youtube.com/schemas/2007/categories.cat","term":"Entertainment","label":"Hiburan"}],"title":{"$t":"\"Fallen Kingdom\" - A Minecraft Parody of Coldplay's Viva la Vida (Music Video)"},"content":{"type":"application/x-shockwave-flash","src":"http://www.youtube.com/v/I-sH53vXP2A?version=3&f=videos&app=youtube_gdata"},"link":[{"rel":"alternate","type":"text/html","href":"http://www.youtube.com/watch?v=I-sH53vXP2A&feature=youtube_gdata"},{"rel":"http://gdata.youtube.com/schemas/2007#video.responses","type":"application/atom+xml","href":"http://gdata.youtube.com/feeds/api/videos/I-sH53vXP2A/responses?v=2"},{"rel":"http://gdata.youtube.com/schemas/2007#video.related","type":"application/atom+xml","href":"http://gdata.youtube.com/feeds/api/videos/I-sH53vXP2A/related?v=2"},{"rel":"http://gdata.youtube.com/schemas/2007#mobile","type":"text/html","href":"http://m.youtube.com/details?v=I-sH53vXP2A"},{"rel":"http://gdata.youtube.com/schemas/2007#uploader","type":"application/atom+xml","href":"http://gdata.youtube.com/feeds/api/users/shoKvlZGZ20rVgazZp5vnQ?v=2"},{"rel":"self","type":"application/atom+xml","href":"http://gdata.youtube.com/feeds/api/videos/I-sH53vXP2A?v=2"}],"author":[{"name":{"$t":"CaptainSparklez"},"uri":{"$t":"http://gdata.youtube.com/feeds/api/users/CaptainSparklez"},"yt$userId":{"$t":"shoKvlZGZ20rVgazZp5vnQ"}}],"yt$accessControl":[{"action":"comment","permission":"allowed"},{"action":"commentVote","permission":"allowed"},{"action":"videoRespond","permission":"denied"},{"action":"rate","permission":"allowed"},{"action":"embed","permission":"allowed"},{"action":"list","permission":"allowed"},{"action":"autoPlay","permission":"allowed"},{"action":"syndicate","permission":"allowed"}],"gd$comments":{"gd$feedLink":{"rel":"http://gdata.youtube.com/schemas/2007#comments","href":"http://gdata.youtube.com/feeds/api/videos/I-sH53vXP2A/comments?v=2","countHint":401995}},"yt$hd":{},"media$group":{"media$category":[{"$t":"Entertainment","label":"Hiburan","scheme":"http://gdata.youtube.com/schemas/2007/categories.cat"}],"media$content":[{"url":"http://www.youtube.com/v/I-sH53vXP2A?version=3&f=videos&app=youtube_gdata","type":"application/x-shockwave-flash","medium":"video","isDefault":"true","expression":"full","duration":288,"yt$format":5},{"url":"rtsp://r19---sn-npo7ene7.c.youtube.com/CiILENy73wIaGQlgP9d75wfrIxMYDSANFEgGUgZ2aWRlb3MM/0/0/0/video.3gp","type":"video/3gpp","medium":"video","expression":"full","duration":288,"yt$format":1},{"url":"rtsp://r19---sn-npo7ene7.c.youtube.com/CiILENy73wIaGQlgP9d75wfrIxMYESARFEgGUgZ2aWRlb3MM/0/0/0/video.3gp","type":"video/3gpp","medium":"video","expression":"full","duration":288,"yt$format":6}],"media$credit":[{"$t":"captainsparklez","role":"uploader","scheme":"urn:youtube","yt$display":"CaptainSparklez","yt$type":"partner"}],"media$description":{"$t":"Download the song! http://bit.ly/TATJrU The people involved: TryHardNinja - Vocals: http://www.youtube.com/user/TryHardNinja Bootstrap Buckaroo - Modeling, r...","type":"plain"},"media$keywords":{},"media$license":{"$t":"youtube","type":"text/html","href":"http://www.youtube.com/t/terms"},"media$player":{"url":"http://www.youtube.com/watch?v=I-sH53vXP2A&feature=youtube_gdata_player"},"media$thumbnail":[{"url":"http://i.ytimg.com/vi/I-sH53vXP2A/default.jpg","height":90,"width":120,"time":"00:02:24","yt$name":"default"},{"url":"http://i.ytimg.com/vi/I-sH53vXP2A/mqdefault.jpg","height":180,"width":320,"yt$name":"mqdefault"},{"url":"http://i.ytimg.com/vi/I-sH53vXP2A/hqdefault.jpg","height":360,"width":480,"yt$name":"hqdefault"},{"url":"http://i.ytimg.com/vi/I-sH53vXP2A/sddefault.jpg","height":480,"width":640,"yt$name":"sddefault"},{"url":"http://i.ytimg.com/vi/I-sH53vXP2A/1.jpg","height":90,"width":120,"time":"00:01:12","yt$name":"start"},{"url":"http://i.ytimg.com/vi/I-sH53vXP2A/2.jpg","height":90,"width":120,"time":"00:02:24","yt$name":"middle"},{"url":"http://i.ytimg.com/vi/I-sH53vXP2A/3.jpg","height":90,"width":120,"time":"00:03:36","yt$name":"end"}],"media$title":{"$t":"\"Fallen Kingdom\" - A Minecraft Parody of Coldplay's Viva la Vida (Music Video)","type":"plain"},"yt$aspectRatio":{"$t":"widescreen"},"yt$duration":{"seconds":"288"},"yt$uploaded":{"$t":"2012-04-01T20:45:30.000Z"},"yt$uploaderId":{"$t":"UCshoKvlZGZ20rVgazZp5vnQ"},"yt$videoid":{"$t":"I-sH53vXP2A"}},"gd$rating":{"average":4.920445,"max":5,"min":1,"numRaters":543044,"rel":"http://schemas.google.com/g/2005#overall"},"yt$statistics":{"favoriteCount":"0","viewCount":"59525828"},"yt$rating":{"numDislikes":"10800","numLikes":"532244"}},{"gd$etag":"W/\"DUUBRn47eCp7I2A9WhFQEEU.\"","id":{"$t":"tag:youtube.com,2008:video:RVAcd-ffIMg"},"published":{"$t":"2011-09-22T17:02:41.000Z"},"updated":{"$t":"2013-07-06T05:07:37.000Z"},"category":[{"scheme":"http://schemas.google.com/g/2005#kind","term":"http://gdata.youtube.com/schemas/2007#video"},{"scheme":"http://gdata.youtube.com/schemas/2007/categories.cat","term":"Games","label":"Game"}],"title":{"$t":"Minecraft - BROTHER PIG - Part 1"},"content":{"type":"application/x-shockwave-flash","src":"http://www.youtube.com/v/RVAcd-ffIMg?version=3&f=videos&app=youtube_gdata"},"link":[{"rel":"alternate","type":"text/html","href":"http://www.youtube.com/watch?v=RVAcd-ffIMg&feature=youtube_gdata"},{"rel":"http://gdata.youtube.com/schemas/2007#video.responses","type":"application/atom+xml","href":"http://gdata.youtube.com/feeds/api/videos/RVAcd-ffIMg/responses?v=2"},{"rel":"http://gdata.youtube.com/schemas/2007#video.related","type":"application/atom+xml","href":"http://gdata.youtube.com/feeds/api/videos/RVAcd-ffIMg/related?v=2"},{"rel":"http://gdata.youtube.com/schemas/2007#mobile","type":"text/html","href":"http://m.youtube.com/details?v=RVAcd-ffIMg"},{"rel":"http://gdata.youtube.com/schemas/2007#uploader","type":"application/atom+xml","href":"http://gdata.youtube.com/feeds/api/users/LCmJiSbIoa_ZFiBOBDf6ZA?v=2"},{"rel":"self","type":"application/atom+xml","href":"http://gdata.youtube.com/feeds/api/videos/RVAcd-ffIMg?v=2"}],"author":[{"name":{"$t":"TobyGames"},"uri":{"$t":"http://gdata.youtube.com/feeds/api/users/TobyGames"},"yt$userId":{"$t":"LCmJiSbIoa_ZFiBOBDf6ZA"}}],"yt$accessControl":[{"action":"comment","permission":"allowed"},{"action":"commentVote","permission":"allowed"},{"action":"videoRespond","permission":"allowed"},{"action":"rate","permission":"allowed"},{"action":"embed","permission":"allowed"},{"action":"list","permission":"allowed"},{"action":"autoPlay","permission":"allowed"},{"action":"syndicate","permission":"allowed"}],"gd$comments":{"gd$feedLink":{"rel":"http://gdata.youtube.com/schemas/2007#comments","href":"http://gdata.youtube.com/feeds/api/videos/RVAcd-ffIMg/comments?v=2","countHint":21096}},"yt$hd":{},"media$group":{"media$category":[{"$t":"Games","label":"Game","scheme":"http://gdata.youtube.com/schemas/2007/categories.cat"}],"media$content":[{"url":"http://www.youtube.com/v/RVAcd-ffIMg?version=3&f=videos&app=youtube_gdata","type":"application/x-shockwave-flash","medium":"video","isDefault":"true","expression":"full","duration":584,"yt$format":5},{"url":"rtsp://r9---sn-npo7en7d.c.youtube.com/CiILENy73wIaGQnIIN_ndxxQRRMYDSANFEgGUgZ2aWRlb3MM/0/0/0/video.3gp","type":"video/3gpp","medium":"video","expression":"full","duration":584,"yt$format":1},{"url":"rtsp://r9---sn-npo7en7d.c.youtube.com/CiILENy73wIaGQnIIN_ndxxQRRMYESARFEgGUgZ2aWRlb3MM/0/0/0/video.3gp","type":"video/3gpp","medium":"video","expression":"full","duration":584,"yt$format":6}],"media$credit":[{"$t":"tobygames","role":"uploader","scheme":"urn:youtube","yt$display":"TobyGames","yt$type":"partner"}],"media$description":{"$t":"AUDIENCE! Welcome to my Minecraft series! Next Ep: http://www.youtube.com/watch?v=caYql4vG9LE&list=PLA1421D3B844DCA12 Main Channel Tobuscus: http://youtube.c...","type":"plain"},"media$keywords":{},"media$license":{"$t":"youtube","type":"text/html","href":"http://www.youtube.com/t/terms"},"media$player":{"url":"http://www.youtube.com/watch?v=RVAcd-ffIMg&feature=youtube_gdata_player"},"media$thumbnail":[{"url":"http://i.ytimg.com/vi/RVAcd-ffIMg/default.jpg","height":90,"width":120,"time":"00:04:52","yt$name":"default"},{"url":"http://i.ytimg.com/vi/RVAcd-ffIMg/mqdefault.jpg","height":180,"width":320,"yt$name":"mqdefault"},{"url":"http://i.ytimg.com/vi/RVAcd-ffIMg/hqdefault.jpg","height":360,"width":480,"yt$name":"hqdefault"},{"url":"http://i.ytimg.com/vi/RVAcd-ffIMg/sddefault.jpg","height":480,"width":640,"yt$name":"sddefault"},{"url":"http://i.ytimg.com/vi/RVAcd-ffIMg/1.jpg","height":90,"width":120,"time":"00:02:26","yt$name":"start"},{"url":"http://i.ytimg.com/vi/RVAcd-ffIMg/2.jpg","height":90,"width":120,"time":"00:04:52","yt$name":"middle"},{"url":"http://i.ytimg.com/vi/RVAcd-ffIMg/3.jpg","height":90,"width":120,"time":"00:07:18","yt$name":"end"}],"media$title":{"$t":"Minecraft - BROTHER PIG - Part 1","type":"plain"},"yt$aspectRatio":{"$t":"widescreen"},"yt$duration":{"seconds":"584"},"yt$uploaded":{"$t":"2011-09-22T17:02:41.000Z"},"yt$uploaderId":{"$t":"UCLCmJiSbIoa_ZFiBOBDf6ZA"},"yt$videoid":{"$t":"RVAcd-ffIMg"}},"gd$rating":{"average":4.855533,"max":5,"min":1,"numRaters":27155,"rel":"http://schemas.google.com/g/2005#overall"},"yt$statistics":{"favoriteCount":"0","viewCount":"3702250"},"yt$rating":{"numDislikes":"981","numLikes":"26174"}}]}} EOL; $this->browser->shouldReceive('get')->once()->andReturn($this->response); $youtube = new YouTube($this->browser); $max_results = 10; $start_index = 11; $response = $youtube->search('Minecraft Videos', $max_results, $start_index); $videos = $response['videos']; $meta = $response['meta']; $this->assertCount($max_results, $videos, 'Should returns ' . $max_results . ' videos'); $this->assertSame($start_index, $meta['start_index']); }
<!doctype html> <html> <head> <title>YouTube Viewer</title> </head> <body> <div> <?php $youtube = new YouTube(); $query = isset($_GET['q']) ? $_GET['q'] : ''; $startIndex = isset($_GET['start']) ? $_GET['start'] : 1; $numResults = isset($_GET['num']) ? $_GET['num'] : 9; $results = $youtube->search($query, $numResults, $startIndex, FALSE); foreach ($results as $result) { echo $result->embed; } echo '<br/><div style="text-align: center">'; echo '<a href="?q=' . urlencode($query) . '&start=' . urlencode($startIndex - $numResults) . '&num=' . $numResults . '">Prev Page</a>'; echo ' '; echo '<a href="?q=' . urlencode($query) . '&start=' . urlencode($startIndex + $numResults) . '&num=' . $numResults . '">Next Page</a>'; echo '</div>'; ?> </div> </body> </html> <?php class YouTube { public function search($query, $numResults = 25, $startIndex = 1, $fetchToken = FALSE) { $results = "&max-results={$numResults}&start-index={$startIndex}";