Order Now AdSolution Sign Up | Login » Bits on the Run Sign Up | Login »

Forums

/

Videos not showing in Drupal CMS

4 replies [Last post]
Reply

We are using bits on the run to provide the videos for a cms built in drupal. We have about 53 videos in the site to choose for different areas and did not have any issues. After a month of the site being live we need to add some new videos.

No problem adding the first two videos and having them show up in the CMS. The third was a different story. Video added to bits on the run easily but it will not show up in the cms. All videos are now showing in bits but none of the newest are showing in drupal.

Is there a limit that bits will allow to be pulled into a cms?

Any ideas? Ever experienced something similar with Drupal?

Reply

By default the /videos/list call will only return 50 results. Apparently the wordpress module uses sort by date (asc) by default.

You will probably be able to find the newer videos from Drupal if you do a search for the video title. A better and more structural solution for now will be to make some edits to the wordpress module so that the results are returned by date:desc and/or to change to result_limit to something a bit higher.

Reply

thanks. we found where to make the change to allow more. the limit is 50 - 1000.

never going to hit 1000 on this site so we are good.

Thanks

Reply

Is the 50-1000 cap a Drupal limitation or Bits on the Run limitation? We are contemplating putting CMS and Bits On The Run solution in place to manage what could be thousands of videos over a period of time, and I want to be aware of what challenges I might face with these types of limits.

Reply

The Bits on the Run API returns a maximum of 1000 results. If you have more videos you will have to use pagination using result_limit and result_offset parameters (http://developer.longtailvideo.com/botr/system-api/methods/videos/list.html)

Generally it is best to show fewer results per page anyhow to keep things manageable for users.

Post new comment

  • Allowed HTML tags: <code> <blockquote> <em> <strong> <strike> <ul> <li> <ol>
  • You may post code using <code>...</code> .
  • Lines and paragraphs break automatically.
  • Web page addresses and e-mail addresses turn into links automatically.

More information about formatting options