Posts tagged ‘application’

August 20th, 2012

Quicktvpro: Making Video Interactive with Kaltura (Video)

by Tod.Yeadon

This is a guest blog post by Quicktvpro‘s CEO Tod YeadonWe are excited to announce Quicktvpro is the recent partner to join our Kaltura Exchange marketplace.

Becoming a Kaltura Exchange Partner is a milestone in the progress of our service, but more importantly it may prove to be a signpost to the direction in which video will go in the months and years ahead.

Video has been an effective medium right from the start. When videotape appeared in the 70’s and VHS won market dominance over Philips and Betamax, it moved the game on from having to tune in to a broadcast at a set time to allowing viewers to watch what they want when they want.

The controls over the video player at that time were essentially Play, Pause, Stop. This has hardly changed since, despite the introduction of newer formats including Laserdisc, CD, DVD, Blueray etc.

Improvements in bandwidth and compression rates suddenly made online video viable soon after the turn of the century, with online video consumption growing massively from 2005. So the medium improved but the viewer controls remained Play. Pause, Stop.

Our objective at Quicktvpro is to use this platform to make our interactive video app accessible to a community of professional video publishers, allowing you to move your videos on from Play, pause Stop to a full interactive experience for your users. Take a look at this short video for an overview of the Quicktvpro app in action:



This has clear benefits for e-tailers but goes much further, particularly for e-learning productions as delivers compliance and trainee stats in a way which has not previously been possible. For example, Forms can be introduced to the video and questions asked which trainees must complete qualify. All of the data on responses and course completion is delivered to the publisher via an Analytics service.

There are many more benefits to interactive video, not least the improved viewer experience and enhanced production values. The point is that Kaltura in making this platform available and Quicktvpro in providing a powerful interactive video plug-in for both recorded and live video is a great example of the way the industry is going, shedding the constraints of all previous video formats, empowering video publishers and pointing the way to the future.

To learn more about the integrated solution take a look at the Quicktvpro Kaltura Exchange listing or contact us at

June 21st, 2012

Want to Improve Search and Video Recommendations? Try The New Tags Editor

by Thomas Huzij

Tags are awesome, but only if you really give them the attention they deserve. Just like kids (or pets) each one is different and deserves special care. However, what do you do when you have 100s of them? We had this problem with the Kaltura Video Portal and we needed a smarter way for metadata management. While the KMC (Kaltura’s Management Console) provides many robust versatile tools for managing your media and its metadata, simple fields like tags, are managed only at the entry level, while missing the overall-view of your content library.


Introducing Tags Editor… 









Tags Editor is a new tool to let you quickly and efficiently add and remove tags from your media entries. What used to be slow and tedious has now been made a painless process. Updating the tags for your videos has never been easier.


Before the Tags Editor


  • To update the tags for your videos, you would have to go through each individual video in the KMC and update the tags. This would be slow because the KMC has to track a lot more metadata than just the list of tags.
  • Updating individual entries could lead to many redundant tags. For example, one video might be tagged with “aquarium” while another may be tagged with “tank”. There was no way to track all of the tags you were using across your entire media.list
  • If you no longer wanted to use certain tags, you would have to track down every video with those tags and remove them manually.


How the Tags Editor makes things easier


  • Keeps track of all the tags in your media.list and even counts how often they show up. This lets you know just how many videos are using certain tags.
  • Rather than typing out tags for each video, you can add tags to your temporary tag database. Once a tag is in that database, adding it to individual videos is much faster and ensures that no redundancy occurs.
  • When using the “Remove Tags” form, removing a tag from the database will go ahead and actually remove it from all of your videos so nothing is left over.


The libraries used to get the job done


  • Kaltura’s PHP5 Client Library
  • Harvest’s Chosen to make all the delightful and user friendly select boxes
  • Loadmask, a jQuery plugin to mask elements while they’re loading and prevent any hiccups


A trick used to access all the media entries

To generate the list of tags for the user’s entire media.list there is no choice but to traverse every entry and retrieve its tags. However, doing so without a filter and using a pager to increment the page index will not end well. The server has a hard limit of 10,000 entries when accessing the media.list. A user may in fact have more than 10,000 entries stored but without the proper filters you cannot simply go in order and access all of them using a pager. There is however a way to get around this and it involves a clever use of filters.

As the entries are traversed there are two properties that we keep track of, their creation time and their entry id’s. The page index on the other hand is not used at all. Instead of blindly going through each page, we set a filter that arranges the entries by their createdAt times in descending order. So when a call to the API is made to retrieve 500 entries, it retrieves the 500 newest entries it can find.

So now we’re starting to get somewhere. However, if we were to create a loop, this would just keep giving us the same 500 entries over and over. This is where the filter’s “createdAtLessThanOrEqual” and “idNotIn” fields come into play. Each time the loop iterates, the id of every entry examined is added to a list and we record the entry’s createdAt time as well. That way, the next time the loop iterates, createdAtLessThanOrEqual and idNotIn ensure that the 500 entries being pulled from the server have not been traversed yet. This is much faster than using a pager and gets around the server limitations.


Source Code

The source code for the tool can be found at our Github page.

Feel free to fork it or suggest new features!



You can view a demo of Tags Editor by clicking the thumbnail above or right here.


Stay tuned for more API best-practices and apps. To learn more now, check out the Kaltura API Documentation Set and subscribe to the Kaltura Newsletter.