title: How to make visible all my videos with pagination in my Ziggeo application?
body: <p>So I need some help from a Ziggeo user. I have registered 8 videos in my ziggeo server and now I want to display them in pages divided by 2 videos per page. 
  Here is what I wrote, but unfortunately it doesn't show me any video, but the compiler doesn't say any error. </p>
  
  <pre><code>&lt;?php include('./ziggeo/pagination.class.php');?&gt;
  &lt;?php $myvideos = $ziggeo-&gt;videos();
  $myarray = array($myvideos);?&gt;
  &lt;div class="gallery"&gt;
  &lt;?php if(count($myarray)){
  $pagination = new pagination($myarray, (isset($_GET['page'])?$_GET['page']:1), 3);
  $videos = $pagination-&gt;getResults();
  if(count($videos)!=0) {
  echo $pageNumbers = '&lt;h2&gt;'.$pagination-&gt;getLinks().'&lt;/h2&gt;';
  foreach ($videos as $video) {?&gt;
  &lt;div class="wall-of-videos-container"&gt;
  &lt;ziggeo ziggeo-video="&lt;?= $video-&gt;token ?&gt;"
  ziggeo-width=320 ziggeo-height=240 ziggeo-popup&gt; &lt;/ziggeo&gt;
  &lt;?= date("Y-m-d h:i a", $video-&gt;created) ?&gt;
  &amp;middot;&lt;?= $video-&gt;duration ?&gt; seconds&lt;/div&gt;
   &lt;? } echo $pageNumbers; } } ?&gt;
   &lt;/div&gt;&lt;!-- End Gallery --&gt;
  </code></pre>
  
  <p>I included all the files needed for the Ziggeo configuration.
  Who can help me? Thank a lot!</p>