php - How to display more than 5 results from Vimeo Advanced API calls -


I am trying to create a PHP page where 27 videos of our Vimeo channel are displayed. The video, title and description are loaded dynamically so that I need to change the video ID variables to change a new ID to replace only one video, title and description.

The problem is that only the title and the details of the first five videos are displayed. Videos 6-27 do not show this information Videos are displayed properly.

I am using an advanced API and I am calling for 27 videos (code for the first two videos here):

  $ Vid1 = $ vimeo - & gt; Call ('vimeo.videos.getInfo', array ('video_id' => $ video1_ID)); $ Vid1_title = $ vid1- & gt; Video [0] - & gt; Title; $ Vid1_descr = $ vid1- & gt; Video [0] - & gt; description; $ Vid2 = $ vimeo-> Call ('vimeo.videos.getInfo', array ('video_id' => $ video2_ID)); $ Vid2_title = $ vid2- & gt; Video [0] - & gt; Title; $ Vid2_descr = $ vid2- & gt; Video [0] - & gt; description;  

To display results, I am using the following code:

  & lt; Div class = \ "video_left \" & gt; & Lt; Iframe src = \ "http://player.vimeo.com/video/". $ Video1_ID "\" Width = \ "284 \" height = \ "160 \" frameborder = \ "0 \" webkitolofloscreen mojosvolskscreen allowfullscreen & gt; & Lt; / Iframe & gt; & Lt; P square = \ "title \" & gt; "$ Vid1_title." & Lt; / P & gt; & Lt; Br> & Lt; P class = \ "desc \" & gt; "$ Vid1_descr." & Lt; / P & gt; & Lt; / Div & gt;  

Any ideas why not see me all the results? My guess is that I use multiple API calls at one time

Any help is greatly appreciated.

Thanks in advance


Comments