Archive for ‘Kaltura Exchange’

June 4th, 2014

API Inside-Out – Tour of Kaltura’s API Driven Architecture

by Jess Portnoy

Being open source provides users of the Kaltura platform many advantages. Amongst which, the ability to shape and influence the platform and its roadmap by contributing code to the project.

More often, when building a new integration or a publishing workflow, it’s a bit too much to dive into the platform code. That’s why you don’t have to!

Kaltura is a RESTful API driven platform.
This means that all features, user facing or internal, are all based on the same unified API.
From upload to through transcoding to playback, is all controlled via the API.

A RESTful API follows the following concepts:

  • It’s uniform – in Kaltura, every service represents an object, and actions represents its methods . For example: the media service represents the KalturaMediaEntry object. The media.delete action deletes a given KalturaMediaEntry object.
  • It’s stateless – In every API call you must provide a valid session key (dubbed KS). You can also create as many sessions as you need at the same time.
  • It’s cacheable – Scale is a make or break with video applications. We cache more than 95% of API calls in Kaltura, once in memory and then even on the CDN.
  • Layered System – Client have a single end point. This encapsulates whether the client connect to the end server, or to an intermediary along the way. Intermediary servers improve system scalability by enabling load-balancing and shared caches. Layers also enforce security policies and enhance system resilience.

A lot of projects offer a RESTful API. But what I believe makes the Kaltura API special are –

It’s API from the inside out!
The platform’s own components also use the same APIs to get their job done. This means core developers build and test using the same APIs that App developers use. Which in turn test and improves the APIs daily.

Always up-to-date SDKs
Kaltura’s API features a unique automatic generation of SDK. With every release Kaltura generates new client libraries. Which are available in most popular programming languages, including: PHP, Ruby, Python and JavaScript.
See the client libraries page for complete list and downloads.

It’s Robust, Allowing Complete Control
As an outcome, the API is capable of controlling pretty much any operation the platform’s core components. From ingesting content through management and transcoding, to playback, delivery, distribution and analytics.

To further explain point A, lets dive further in to the Kaltura architecture:



The API and Client Libraries, are used across the platform’s components, both in external applications such as Kaltura MediaSpace or various modules to 3rd party systems such as Drupal or WordPress, as well as internally, within core Kaltura components such as transcoding batch servers or the platform Admin Console.

For example, the batch daemon, responsible for performing roles such as: media import, media info extraction, transcoding and server notifications, triggers these APIs the same way any other party, for example, your application, would: using the Kaltura API Client libraries.

Here is a short example of how the APIs (in this particular case, the PHP client libs) can be used to upload a new video entry to the system:

Having an API driven architecture enables complete control and freedom with how you desire your application workflows and UI to be. From creating different publishing workflows to exposing sets of functionalities.
In addition, the API inside-out approach opens up many opportunities for adapting, controlling and extending beyond the simple UI workflows and apps, important examples are with platform automation and monitoring tools.


Playing with the API:

As mentioned, Kaltura provides client libs generated for various programming languages. In addition, API calls can be made using a testing tool dubbed the Kaltura TestMe console.
The first thing you would want to do is create a Kaltura Session – KS:

  1. Select ‘session’ as service and ‘start’ as action.
  2. In session type, select ‘USER’.
  3. The secret field corresponds to one of two strings that are saved in Kaltura for each partner and are available in your KMC under the Settings>Integration Settings tab. Note that there are two types of secrets, one that can be used to start an end-USER session and one to start an ADMIN session.



If you look at the screen shot above, you will see that, in the right frame, we have the returned XML which includes:

  • The result tag with the KS ‘N2E1NGE1NGIxOGFlNWI3MDU1NWY4YTNmMTRjM2QwZDg2ZDA1YjM0MHwyNDk7MjQ5OzEzOTkyODc1OTA7MDsxMzk5MjAxMTkwLjM1NDs7Ozs=’ as value
  • The executionTime tag with 3.71932983398 as value

In the bottom of the page, you can see the code our selections in the input form generated.

Notice that while the default displayed code is in PHP, you can click on one of the other languages to see the code generated for any other.


Next for a second example using the Test Me Console, we will list the entries our partner owns. Doing so by using the baseEntry service and calling its listAction() function.


As you can see, the generated code reads:

If you run this code and add:

You will get a result very similar to the XML outputted in the right frame of the page in the screenshot above.


The Test Me Console is a useful method of starting to work with the Kaltura API. Simply browse through available services and see what actions can be made.

Then, you can copy the code snippet and shape it into something useful within your scripts.


Hopefully this article will help you get started with the Kaltura APIs.

Browse the Kaltura API Documentation Set to learn more and explore more Kaltura APIs.

For any questions, leave a comment below, or start a thread in the forums.

Download, install and take part in the Community.


Happy coding :)

Join us for the upcoming Video Experience Hackathon on June 13-5 in NYC. Polish your Kaltura API skills with the mentoring of experts and Kaltura core maintainers, and take a chance at winning the $50,000 prize!
The VideoX Hackathon, June 13-15, NYC

April 17th, 2013

Plugins-Free WebRTC Based Peer 2 Peer Video Delivery – HTML5 Video

by Zohar Babin

Peer5 LogoPeer-to-peer has always been a disruptive technology, enabling new applications and high efficiency. It has become an essential building block for distributed, scalable services such as Skype, Bittorrent and more. Until today, the P2P has been absent in the rich world of the Web. Various plugins tried to fill this gap but lacked standard conformance and sometimes were even intrusive. For years, enterprises could only develop client-server systems, which have increased latency and are expensive to scale. Luckily, we now have a new P2P API which is part of the HTML5 standard — It’s called WebRTC.

According to Peer5, it won’t be long before WebRTC will transform the way we communicate online; “it’s the technological breakthrough that will enable a truly plugins-free web experience – from audio and video collaboration to recording solutions and more” says Hadar Weiss, Peer5 CTO, “so far, the missing piece in the WebRTC puzzle has been the development of the  DataChannels API, the browser feature that facilitates direct delivery of raw data between two or more users without a need for a server.”

Harnessing the power of WebRTC, Peer5 is set to bring hassle-free, peer-assisted video delivery to everyone with nothing more than a modern web browser (Currently on Google Chrome and Mozilla Firefox).

By building on top the DataChannels API, Peer5’s player plugin creates a peer-assisted network where viewers seamlessly share parts of the streamed video to enhance video delivery and reduce network bandwidth.

With the Peer5 solution now a part of Kaltura’s Tech Partners Program, a cutting-edge HTML5 innovation will be available with the first live demo of WebRTC-based video delivery, exclusively for members of the Kaltura community.

Peer5 Player Screenshot

We invite you for a sneak preview of this new disruptive technology and experience the first ever plugin-free, large-scale peer-assisted streaming of video from multiple sources around the world, where all registered participants will enter the live demo together, and watch as the video plays seamlessly from multiple peers.

To join the live demo, register at:

January 15th, 2013

How to Create a Successful Open Source Business Model

by Zohar Babin

This post was originally published on the Computer Weekly Open Source Insider blog. It was written by myself and Dr Shay David, co-founder of the Kaltura.

open source comapnies icon v2

Open source projects are measured by the size of their developer communities, by market adoption, by the number of downloads and other such metrics; companies are measured in terms of revenue and profits.

Often, attempts at maximising profit can conflict with the interests of the community or the adoption metrics. So how can competing interests be aligned?

What makes for a successful balance that allows a commercial open source software company to thrive while serving all of its masters?

Open sourcing commercial software poses many challenges, the biggest of which revolves around the meaning of ‘FREE’. At the heart of the matter is the need to release code for free vs. protecting existing business interests, staying ahead of competition, and allowing customers to own their commercial deployments.

There are various ways to make money while developing open source software, including:

● Providing integration and support services (Acquia)
● Selling subscriptions to updates and support (Red Hat)
● Selling proprietary components to segments of the user base (Funambol)
● Selling premium plugins, applications, services and themes (Joomla, WordPress)
● Selling hosting services (i.e. Software as a Service SaaS model, adopted by companies such as Acquia, Alfresco)
● Selling the software under a commercial licence and releasing the code under an open source licence simultaneously, aka Dual licensing (MySQL).

As an example, at Kaltura we chose to maintain a combination of business models, leading with a dual licence model that is combined with a SaaS offering and an API centric architecture. Released under AGPL and a commercial licence, Kaltura has rapidly grown to be the leading media management platform on the market.

Adopting a dual licence approach enables developers and customers to adapt and modify the open source software to their needs, while the commercial licence allows companies to provide customers with the ability to keep derivatives – or to embed the software in proprietary solutions along with warranty, indemnification, and professional services. For those who need help running their system, a SaaS offering provides a set of affordable hosting services.

An open API architecture is also important. It provides platform-agnostic means for developers to create video-centric applications quickly and cost effectively. As an example, Kaltura’s community and partners program (dubbed the Kaltura Exchange), enables developers and third party vendors to play an important and valuable role in extending the Kaltura software, by building innovative solutions on top of our video platform and expanding its reach to new markets while supporting the ever-growing needs of the existing customer base.

The last few years have shown us that open systems win every time: Android, for example, now outsells the closed iOS 2.1, despite Apple’s huge early lead. Every large organisation in the world now relies on open source software for mission-critical infrastructure. By combining different open business models software vendors can do well by doing good. Gone are the days where customer retention was achieved by locking data into proprietary formats or developing secret software.

With its extreme transparency, open source forces vendors to focus on creating customer value – or risk becoming obsolete. Entering the virtuous cycle of value creation that customers are willing to pay for, rapid development that leverages the community, and quick cycles to create more value… this is the promise of good open source business models.

August 22nd, 2012

Turning a Profit with Online Video Made Easy using PayPal HTML5 Digital Goods

by Thomas Huzij


Kaltura Paid-Content Gallery Sample AppSmall media publishers often face one problem: How do you monetize your online content without having to jump through hoops to make it a reality?

Selling media content online is tricky and there are many pitfalls. The customer must have confidence that they are not falling prey to fraud. If the checkout experience is too complicated customers may be discouraged from going through with the purchase. There are many different credit-cards and currencies and there are even more complexities as a result of setting up paywalls and dealing with billing management.

The purchase process should not disrupt the flow of your user interface. Instead, it should be integrated in a completely seamless experience.

Whether it be entire categories of content or just one video (or image, song, etc.) at a time, there should be a way for you to easily turn a profit without the headaches caused by setting up online payments.

PayPal: The easy way to collect payments for your content.

Introducing: Kaltura Paid-Content Gallery. The gallery allows publishers to display all the videos on their Kaltura account and, using the included administration tools, configure their content library with payment options allowing customers to purchase videos through a simple, seamless user interface.

Built using the PayPal Digital Goods express checkout HTML5 library, Kaltura’s PHP5 Client Library and Kaltura’s Player, the Kaltura Paid-Content Gallery allows publishers to quickly setup a gallery where videos can be sold individually and even through channel subscriptions (the customer can buy access to categories of videos). Your customers can buy access to the channel of their choice and immediately be able to watch any videos in that channel.

Management of your content pricing has now also became a breeze, leveraging the handy custom metadata profiles API. The Kaltura Paid-Content Gallery Administration Tool makes it easy to setup content pricing, currency and even category subscriptions from a simple user interface.

With Paypal, the customer does not have to leave your website to purchase your products. The PayPal checkout experience is extremely fast and can be completed in as little as 2 clicks. The entire process takes only a matter of seconds and your customer can return to watching your content in no time without ever leaving the video page. PayPal takes care of the complexity involved in making the actual sale, making sure that you make the most profit possible and letting you focus on producing content for your customers and creating awesome online video experiences!

Kaltura Paid-Content Gallery - Account Wizard

The gallery comes with an easy to use Account Setup Wizard which lets you set up your gallery in four easy steps. Instead of using the KMC to tediously apply the right access control settings and metadata to each video, the account wizard does it for you using an easy to use and simple interface. All you need to do is setup your account once and then add pricing information to any video or channel (category) you want to monetize. Once you finish using the account wizard, your gallery will be up and running for anyone to use.




PayPal’s original HTML5 library uses local storage to keep a record of all the videos or channels that the customer has purchased. Unfortunately, if the customer clears their browser data (including their HTML5 local storage) then any record of the purchase is erased. We have bypassed this verification system and instead used a new feature that was just released with the latest version of the Kaltura API, Falcon. Now with Falcon, you can set custom metadata for individual users. Although the KMC cannot currently manage user metadata, we were able to utilize this feature using the newest client library. When a customer makes a purchase, their user ID and purchases are stored in Kaltura so this precious information can never be lost.


Live Demo

You can view a demo of the Kaltura Paid Content Gallery by clicking the thumbnail above or right here.


Download and Install on Your Server:

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

Feel free to fork it or suggest new features!


Liked This App? Help Make it Better!

This is yet another great Kaltura API based application, to demonstrate best practice of accomplishing different online video user experiences using Kaltura.

In this app, we also make use of PayPal’s HTML5 Digital Goods Library. While developing the Kaltura Paid-Content Gallery application, we came across the following issues, which we hope will be fixed shortly to allow for more exciting features such as time-expired purchases and automatic monthly subscriptions.

  1. Cancel a purchase and Time-Expired-Purchase.
  2. Enabling Subscriptions (e.g. monthly subscriptions to channel).

Found issues with the Gallery? Report it 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.



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

July 16th, 2012

Using Video Indexing to Unlock Your Audio and Video: Kaltura Integration with Yactraq

by Jeh.Daruvala

Kaltura has recently integrated with Yactraq, a cloud based video indexing platform. Yactraq is a valued Kaltura Exchange partner that provides video indexing services & video metadata, allowing video publishers to make their videos accessible, searchable, and discoverable. In 2011 the US market generated more than $8 billion in text based contextual advertising revenue.  Meanwhile, users spend increasing amounts of time consuming video.  Yactraq intersects both trends by taking contextual ads beyond text, into the world of video.Jeh Daruvala, the Founder & CEO at Yactraq Online Inc, has been nice enough to provide us with the following parts of this post discussing Yacrtraq’s services and the integration with Kaltura in more depth.

About Yacrtaq:

Yactraq’s patent pending technology uses state-of-the-art speech recognition systems and NLP (natural language processing) technology to auto-generate time-coded topics for any digital video/audio content.  Our topics are further analyzed for frequency, relevance, and other proprietary metrics to produce deep and rich video analytics metadata that can be used in various applications such as contextual advertising (for which Yactraq provides an out-of-the-box app), SEO, Usability (Content Search, Discovery, Navigation), Productivity (Video Editing) and several other possiblities.

The Integration:

This service integration is achieved with the addition of two Javascript files to each page delivering Kaltura media content, reserving an area where Yactraq’s advertising can be displayed, and a small Javascript shim establishing the publisher’s identity and options for choosing and displaying advertising content. There are no modifications made to the Kaltura player (publisher-specific themes and templates are never interfered with) and very limited JavaScript skills are required to complete this integration. With this in place, a publisher can be up and running, delivering contextual advertising to his users and monetizing his content within hours.

You can see the demo HERE

For More Information

Yactraq’s production system is deployed on the highly scalable and reliable Amazon EC2 cloud. Whether you have just a few videos or millions, the process is entirely automated, resulting in accurate video metadata.

For more info about the integration and video indexing visit the Kaltura Exchange, email us at, or find more details on our website at

Thank you and if you have any questions post in the comments below!


June 28th, 2012

Optimize Video Conference Content Management With Vidyo and Kaltura (Video)

by Luda Ruditsky

The Vidyo booth was extremely busy at InfoComm 2012 last week. We joined Vidyo at the booth as well and had a great time. And it’s no wonder it was busy, Vidyo’s unique telepresence solution which delivers low latency HD-quality multipoint video conferencing over ordinary data networks to any end-point, generated a load of positive buzz at the conference.

As one of the demos there,Vidyo presented the integrated solution with Kaltura where video conferencing recordings and webcasting are seamlessly published through the Kaltura MediaSpace video portal.

If you would like to peek at what happened there take a look at this short video I took with my iPhone using Kaltura Capture and Publishing application.

Mark Noble, Sr. Director of Product Marketing at Vidyo explains about the integrated solution.

The Kaltura and Vidyo integrated solution optimizes and simplifies  the large-scale video conference content management process:

  • Record and optimize Telepresence-quality content in real-time for any device and any network using VidyoReplay
  • Automate content synchronization with the market-leading Kaltura Content Management System
  • Scale and stream via your preferred CDN provider
  • Publish and customize your rich content library using the Kaltura MediaSpace video portal
  • Integrate the VidyoReplay conference recordings archive into your existing CMS and LMS like SharePoint, Blackboard and many others.

To learn more about Vidyo-Kaltura integrated solution visit Kaltura Exchange 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.



June 19th, 2012

DCM East: 3 Must See Presentations

by Asef.Ahmed

If you haven’t already heard, DCM (Digital Content Monetization) East is holding their annual conference in New York at the DoubleTree Hotel (51st and Lexington) from June 19-22. This is a great event for anybody involved in online media, with the industries top players attending and presenting. Why is this important now? Well as DCM says on their website:

According to PriceWaterHouseCoopers’ annual report, by 2014 digital spending will account for one-third of total media and entertainment spend – that’s an increase of 24% from last year. Film, TV, Sports, Publishing, Music, Newsprint and Games need to rapidly establish their place in this digital content market place.”

The conference is broken into three different days: a pre-conference “summit” focused on the sports and gaming industries today, the 19th, and the two main conference days filled with presentations from online media gurus tomorrow and thursday (the 21st) . With that being said, here are some presentations that you wouldn’t want to miss.

1. Sports Summit

Who: The speakers will be: Doug Smoyer; the Vice President of Business Development for the New York Giants (a personal favorite), Peter Stringer; Director of Interactive Media for the Boston Celtcis, and Chris Russo; the Ceo of Big Lead Sports. Lindsay Orosz, an Associate of New Media, Entertainment and Technology at Hughes Hubbard & Reed LLP will moderate.

What: The “Future impact of tablets, smartphones and laptops on the sports industry: recognize what game is being watched on TV and provide your viewers with a personalized experience on the second screen.”

When: 10:30 am on Tuesday (19th)

Why: This is going on for the third year running and by all accounts it has been fantastic. The Sports industry is one of the highest revenue generating industries in media (and the world). Consider that the NFL rakes in about 10 billion dollars of revenue annually and that the SuperBowl this year set the US TV ratings record for the third year in a row with over 111 million estimated viewers. That’s a lot of viewers. This year was the first year that the Superbowl was shown online for free, and by most accounts it was a relative success. In addition to the profitability and industry technological shift, this is a must see because of the three big-player speakers.

2. Startup Showcase

Who: The showcase judges are: Dan Ciporin; Venture Partner at Canaan Partners, Bruce Taragin, Managing Director at Blumberg Capital, Jorge Espinel; EVP of Strategy and Corporate Development, News Corp, and Yujin Chun; Partner at Andreessen Horowitz. Todd Simon, Head of Digital Media at Oppenheimer &Co. will be the moderator.

What: Leading startups pitch to a panel of industry experts and prominent venture capitalists.

When:3:30 pm on Wednesday (20th)

Why: This is not only a chance for startups to garner interest and funding, but also an opportunity for the media industry to see some exciting new prospects with the potential partnerships involved. These startups are hungry and undoubtedly talented, making for a passionate and intriguing event. This was one the most exciting presentations at DCM East 2011 and there is no reason that it should not be this year as well.

3. Kaltura Presentation

Who: Eric Morris, VP of Global Media Sales, Kaltura.

What: “How to reach your Audience Wherever They Are”

When: 2:15 pm Wednesday (20th)

Why: Not that I am biased, but this is guaranteed to be a fantastic presentation. This is a topic that is key to every industry in the market and Eric’s presentation can be beneficial to any business. Isn’t this really the essence of online video, especially of online marketing? Eric wll share some of his rich experience working with media companies. He will also show how media companies can learn from other industries, like Education and Enterprise, how to use online video to grow successful companies. .

If you are attending the conference, be sure to also come say hi to us at the Kaltura booth!


June 5th, 2012

Kaltura API: How To Get Started (Video)

by Asef.Ahmed

Our APIs work like secret shortcuts to our platform, however, the secret, in true Kalturian spirit, is quite open. Not long ago, we recorded a webinar that went in depth about our API. This webinar prompted us to create a series of posts detailing our APIs and answering some FAQs. Today, we are going to focus on how one gets started with the Kaltura API. So before we get to the Q&A segment, you might first want to take a look at the clip below in which our Director of Community and Developer Relations; Zohar Babin, explains the necessary steps of how to begin working with our API.


(Be sure to check out the full webinar)


Zohar has also provided us with answers to five of our most frequently asked questions that will kick-start this series.

Q. “You have a lot of documentation but how do I know which one to start with?”

A. It’s probably easiest to refer to our “getting started” segment on the knowledge center. There is a lot of information that is explained very succinctly and we also provide a vast amount of guides.

Q. “What do I do if I see that the API I am using is marked as deprecated?”

A. The general answer is that even though certain actions are deprecated they will still be able to work because Kaltura is completely backward compatible. Having said that, if you are building a new application make sure not to use a deprecated API. For every deprecated service and action you will most likely find a newer more compatible service or action.

Q. “How do I find a newer version of a deprecated API?”

A.If you go to the Testme console API, take a look at the deprecated API service. Find the deprecated API call that you want to use in the test me docs. Under the description it will say it is deprecated and it will list newer services for you to use. If there are no newer services listed contact Kaltura support or go to the forums.

Q. “How can I upload content through the Kaltura API?”

A. There are multiple ways to upload content, mainly bulk upload and single upload video.

I would recommend doing the following:

  1. Create a session
  2. Media->add – create the entry, get entry ID
  3. uploadToken->add – create uploadToken object, get token ID
  4. media->addContent (KalturaUploadedFileTokenResource) <- pass entry ID and token ID
  5. uploadToken->upload

This outlines the recommended flow. We don’t mind if you change the flow. While the “Create a session “ step is obviously necessary, you can play around with the order after that and it will work the same. Although this flow shows us how to upload a single post, there is a different way to do it for a bulk upload using XML/CSV. (For more information on bulk upload, check out this tutorial.)

Q. “How do I get a Download URL?”

A. Call the playManifest API (make sure you have your Partner ID and Entry ID at hand) using this link:

Then you just need to replace these parameters: Partner ID of your account, Entry ID of the video to serve, Video Flavor ID denoting the specific flavor (rendition) of the video to play, KS to identify the user who requests access to the video and Ext denoting the file extension to give the file (such as: flv, mp4, etc.)

For more information, check out this link.


In the near future, we are going to post more information providing a more comprehensive guide to our APIs, specifically related to the player API and server API. For more information on the Kaltura API and Kaltura in general:

-Listen to recorded webinars and subscribe to future ones

-Visit the Knowle