Archive for ‘Developers’

February 16th, 2014

Introducing KIPP – Kaltura Install Made Simple.

by Jess Portnoy

kaltura-light-blue-bg

The installation of Kaltura, just like the platform itself, went through a lot of metamorphosis over the years.

Over the years, we invested many resources at making Kaltura the best media management platform. Featuring grand batch system, complex metadata engine, robust entitlements, simplified video transcoding and more.

Alas, built on many different technologies, the installation of the platform became a bit of a complex task. Requiring many pre-install steps and several tricky pit-falls, even for the expert Linux engineers.

 

Announcing “KIPP” – Kaltura’s Install Packages Project!
Putting in place the resources to simplify and standardize the installation of Kaltura.
To enable the use of standard Linux package managers (e.g. yum, aptitude) to deploy the Kaltura platform with ease.

 

Community ahead!

It was important for us to create an open and collaborative project from day 1. Enabling community users to take part in defining, testing and developing the project.

Open repository and packaging tools -

All RPM and deb specs are accessible on an open GitHub repository.
Also available a chrooted ready-to-go build environment to allow experienced package developers to get started with ease and contribute packages for other CPU architectures or other operating systems.

 

Many dependancies, many challenges.
Kaltura requires many 3rd party components. Some of which are available via official Linux repositories. Many are in different versions or compilation options than what Kaltura requires. And other are missing altogether from official repositories.

Most packages are available from supplementary repositories such as EPRL and RPMForge. But, relying on unofficial repositories would force a list of pre-install steps that KIPP was set to avoid. And it would also introduce the challenge of keeping up with updates from these repositories.

 

Clean & Simple!
To meet our simplicity goal, we’ve chosen a few project guidelines.

All packages will have the ‘kaltura-’ prefix.
This ensures a no-conflict with other packages the machine may already have installed.
It would also provide a simple approach to handling updates -
# yum update "*kaltura*"

All files go under /opt/kaltura/.
Apart from standard init scripts: /etc/init.d and symlinks to Apache and logroate configurations. If the user runs the un-install script – everything gets removed.

Release notes matter.
Every package contains project metadata, that includes the project’s github repository and changes log. The changes-log contain all changes or patches for each version as well as links to Knowledge Center release notes.

Simple single-server without compromising cluster installs.
A single call to the ‘kaltura-server’ meta-package will install a complete all-in-one Kaltura server. But, as you grow your usage, so should your network grow into a smarter cluster of dedicated servers.

Modular packages structure.
A key characteristic of Kaltura is it’s ability to scale and deploy across any size cluster. The install packages should allow for the same level of modularity in deployment:

  1. You only install what you need.
  2. You should always know exactly what you have installed and of which version.
  3. You should have full control over which parts to update or patch.
  4. You should deploy packages based on desired server-role by calling it’s role. E.g. front, batch, sphinx, DB, etc.

Automated, silent installs.
Repurposing and adding new servers in your network should be a painless and automatic task.

Post-install script for each server role, allows for an easy deploy or repurpose of Kaltura servers.
Utilizing answers-file, preconfigured server-role templates allow for automatic deployment of new servers.
Admins can use Chef scripts with preconfigured answers-file to deploy complete clusters with ease.

Building for today, designing for long-term.
The short-term goal is to solve deployment of Kaltura on Fedora and Debian based Linux systems. Utilizing simple shell post-install scripts we maintain a common code base whenever possible. That allows for reuse in future packages, reducing time to package for other systems such BSD variants or even OSX.
Also, if we add new directives or variables in the future, all we need to update is the answer file template.

 

Support the project:

  • Kaltura Admins – Follow the new install guide (http://bit.ly/kipp-rpm). Help test the installation and upgrade flows.
  • Packagers / Package Developers – If you’re experienced with Linux packaging (or brew/macports on OSX) drop us a line!
  • Tech writers, translators and anyone who cares – Let’s reach everyone who cares about online video, anywhere!

To stay updated and learn more, visit the project page!

 

 

August 14th, 2013

Playing DRM Content in Native Applications (Video)

by Michael Dale

 

DRM (Digital Rights Management) is an important tool for premium and private content. The need for enforcing content license terms and for ensuring control over content monetization is of major concern when coming to provide an online media service that is available in an over-the-top / multi-platform environment. To help clients delivery to these multiple devices Kaltura has enhanced its native application developer tools ( SDKs ) for iOS and Android to support secured delivery.  

Significant attention and effort must be invested to make sure that content is protected for preventing unauthorized content distribution and enforcing corporate and educational viewing licenses.  

Kaltura provides multiple layers of content security: from a strictly secured infrastructure, through secured API sessions, a robust set of conditional access controls and multiple secured content delivery options. The addition of DRM technology to this security stack enables maximum protection of content by encrypting media assets, and by relying on a per-session license for playback. Playback is enabled only upon receiving this dedicated license which can be obtained only as part of a controlled environment through pre-defined rules.

Kaltura’s video platform is integrated today with Google Widevine’s DRM technology for content protection and with a near-term plan to enable a multi-DRM service as part of its video platform.

Playing DRM Content in Native Applications - Google Widevine

 

Kaltura’s integrated DRM service enables:

  1. Media Encryption as an integral part of the content ingestion process.
  2. License protected playback flow from multiple devices.
  3. Integrating with standard policy setting, license issuing flows and client-side protections provided by the DRM technology provider.
  4. Utilizing Kaltura’s Access Controls as an out-of-the-box authorization system integrated within the DRM license issuing flow.
  5. Enabling service-specific business logic for authorizing user/content entitlements as part of the DRM license issuing flow through Kaltura Access Control’s authorized session (KS) validation.
  6. Integrated Content Management – Encrypted content is seamlessly managed along-side with non-encrypted content from the same KMC account.

More details on Kaltura’s integrated service for DRM with Google Widevine are provided in this article on Kaltura’s Knowledge Center

In addition to the out-of-the-box support for DRM protected playback in PC environments using flash and the widevine extension, Kaltura recently introduced DRM support to its mobile reference applications and SDKs. These enhancements enable developers to secure content in the iOS and Android platforms. These tools have been integrated with the kaltura reference apps for easy integration into your native app projects. Here Eliza and Josh share how to get DRM up and running for iOS.

July 2nd, 2013

Will HTML5 Force Apple’s Hand Over Online Video Standards?

by Asef.Ahmed

Kaltura-Video-Platform-Device-Detection-and-SupportOur very own Michael Dale was featured in a Broadcast Engineering article about how HTML5 may end Apple’s hegemonic authority and force the company to adopt the same standards as everybody else.  The new standards that HTML5 is setting such as: adaptive streaming with MPEG-Dash and Media Stream API, content protection via Encrypted Media Extensions (EME), and the lack of a need for plugins, combined with the inevitable large rise in the number of HTML5 developers over the number of iOS developers, could significantly reduce Apple’s market power. As Dale puts it, ” Apple will continue to be one of the major targets for app and service development but it will no longer be setting the pace.”

Read the full article here:http://broadcastengineering.com/blog/html5-could-last-force-apple-fall-line-over-online-video-standards

May 20th, 2013

The Stanford University School of Medicine Kaltura Video Meetup and Hackathon – May 28, 10am to 4pm

by Zohar Babin

stanford-medical-kaltura-hackWe’re really excited to invite you to our first Kaltura Education hackathon – The Stanford University School of Medicine Kaltura Video Meet-up and Hackathon.

Join the Stanford University School of Medicine and Kaltura for exciting video application hacking, learn about Kaltura in Stanford School of Medicine, build cutting-edge video applications and a chance to win awesome prizes!

 

Venue: Stanford University (3160 Porter Drive, Palo Alto, CA 94304)
Time: Tuesday, May 28, 2013 from 10:00 AM to 4:00 PM (PDT)

Agenda:

10:00am – 10:30am
Meet and greet

10:30am – 11:15am
Presentation by the Web Services team of Stanford School of Medicine

  • Identifying and transferring our videos from Akamai to Kaltura
  • Analyzing our current environment and preparing for the migration
  • Updating our core video script to utilize the Kaltura Dynamic Player
  • Utilizing the Kaltura API to execute a mass update of our thumbnail images
  • Installing, customizing and configuring MediaSpace in the Stanford Medicine context

11:20am – 12:30pm
Presentation by Kaltura – The Kaltura API and “Video Expirements”

  • Building Kaltura API based Video Applications
  • Showcase of exciting education related video experiences
  • Sneak Peeks into the future of online video

12:30pm – 1:00pm
Lunch

1:00pm – 3:40pm
Hackathon: Building HTML5 Education Video Apps

3:40pm – 4pm
Hackathon Apps Showcase and Closing

 

 

Register to the event

 

 

April 26th, 2013

BlabDroid: The Personal Filmmaking Robot – An Interview with the Designer

by Iddo Shai

blabdroid-kickstarterWe have been following Alexander Reben and his robots since MIT’s Open Documentary Lab. After our previous blog post of Alex and his robots, we received a lot of great feedback which led us to visit Alex and talk to him about the future of human interaction. The idea is simple, can we emotionally connect to an extremely cute and adorable box? Apparently, the answer is yes and results in some pretty intense moments.

This week Alex and his gang of robots were busy at work – shooting all around Tribeca Festival. At the same time, Alex and his partner Brent Hoff launched a Kickstarter campaign to further develop the robots and bring them to the masses.

Join us in supporting Alex’s innovative project!

Watch below an exclusive interview with Alex and one of his innovative robots, about the history of the project, and hopes for its future.

Learn more about blabdroid at http://blabdroid.com/

March 13th, 2013

The New York HTML5 Hackfest Meetup Notes – March 2013

by Zohar Babin

Thank you for joining us last night at The NYC JavaScript & HTML5 Monthly Hackfest and for the amazing AlleyNYC for hosting us. We had a great fun (as always), and learned a lot.

For those who missed the meetup, here is a quick summary -

We’ve opened the evening with (pizza and drinks) Michael Dale, Player Framework Product Manager at Kaltura. Michael gave a presentation of the state of HTML5 video and writing a player framework, giving a walk-through of Kaltura’s HTML5 Player Framework and launching the evening into a hackfest of player plugins creation.

Following after, Costa Michailidis shared the beauty of SVG based web application design in a 5 minutes lightning talk about SGV. Judging by the exciting feedback this lightning talk received, we’ll have to followup with an in-depth SVG session in a future meetup!

We talked about HTML5 video, popcorn.js, mwEmbed, SVG and hacked on player plugins.

html5hackfest-alleynyc

March 7th, 2013

HTML5 Based Mobile OS and the Future of Video Phone Apps

by Gal Nachshon

FirefoxOS-logo_610x385 copyIt was nine years ago, during the W3C workshop in 2004, that Mozilla Foundation and Opera Software proposed, and has been rejected for, their desire to continue and develop HTML with a focus “on developing technologies that are backwards compatible with existing browsers.”

A few months later, unwilling to budge their admirable ambition, Mozilla, Opera, and Apple began working on the evolution of HTML “under the umbrella of a new venue called the WHATWG.” In 2007, after much work and development led by WHATWG, the W3C showed signs of interest and formed a working group chartered to work on the development of what came to be HTML5 specification. By the time HTML5 became the hottest trend in application development, mobile became the hottest trend in user consumption. Therefore, it was just a question of time that the two would marry. Especially since HTML5 offers new levels of innovation for mobile developers.

As of last month, February 2013, Firefox – the web browser from the house of Mozilla – has lunched its’ first HTML5-friendly mobile OS in Europe. The low cost, sub-$100, smart phone is now presenting a new challenge to Apples dominance over the smart firefox OSphone market. The new device, ZTE-made, is built on a open Web standards meaning “that every aspect of the device – including even the phone dialer – is built as an HTML5 application.”

Firefox claims that such an approach will allow faster performance than the HTML5 typically used on Android or iOS devices “where web apps have been often seen as inferior to native apps on those platforms.” Furthermore, Firefox OS “also gives carriers the chance to customize and localize those interfaces and services – including apps – as they choose, a level of flexibility they cannot have with iOS or Android.”

All of these rich features offered by Firefox OS are achieved through its flexible base of HTML5 and web applications, and like wise is Kaltura’s. As seen on the right, a Kaltura HTML5 player smoothly fits Firefox OS display screen without augmentation and faults. It is this bed of APIs upon which the Kaltura player is based on that provides a wide range service across all operating systems such as Firefox OS, but also iOS and Android SDK alike.

Kaltura’s HTML5 full featured player, however, is one of the fastest html5 players in its class, and as a recent study indicates, web viewers start dropping if a video does not start to play within 2 seconds or less. Hence, performance is key for retaining viewer engagement, but likewise is the design.

player-load-play-time

With Kaltura’s Dynamic Embed HTML5 player, a more flexible embed call allows for  changing run-time parameters easily, set up custom callbacks, and target a given DOM element in a page. The embed will inherit CSS classes and attributes of your DOM targets for robust Responsive Web Design support (sample page). This is critical since HTML5 is integrated into so many new form factors as with the Firefox OS phone.

The use of HTML5 enables the Kaltura player, as well as Firefox OS, to have a universal and flexible reach in today’s mobile world amongst many others whom picked up on the hot trends of HTML5 combined with mobile. Based on a recent global developer survey by Kendo UI, out of 5,000 developers, 36% preferred pure HTML5 implementation for all platforms, yet right behind them, at 32% of developers prefered hybrid apps that are developed in HTML5 code wrapped in a native container per target platform. This shift toward HTML5 is not surprising for not only does it give better end-user results, it also allows rapid development of apps.

For as a result of working per platform, instead of multi-platform via HTML5, 39% of developers spend time developing the same app/feature for multiple platforms instead of generating new ones. This workflow is time costly and impractical for the end user, who therefore has to wait long periods of time for upgrades on his mobile device OS and apps. Yet  HTML5, by developing apps across all platforms, generates a unison functionality with copious and flexible options to guarantee equivocal experience on any device and encourages effective future development.

We all appreciate the flexibility, robustness, and Mozilla’s ambitions to make HTML5 a first class citizen ever since 2004. However, until the day HTML5 will become a global standard, Kaltura still aims to support the best possible experiences in all environments such as iOS, Android, alongside HTML5. Therefore, Kaltura is also building native tools for experiences that can’t normally be delivered over html5 yet due to DRM, such as and adaptive streaming on Android, in order to achieve true universal reach today.

 

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.

 

 

Note:

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 21st, 2012

Join Us For The Kaltura Community Office Hours Tomorrow @ 4pm Eastern

by Zohar Babin

Join us for the first “Kaltura Community Office Hours” Google Hangout tomorrow at 4pm Eastern!

During this meeting we’ll be talking with Andrew Davis and Michael Dale about best practices for including Kaltura videos in Web Applications, and Thomas Huzij, who will announce a new Kaltura application and discuss mixing Kaltura with PayPal APIs in ways that open new and exciting opportunities for small publishers and content creators to monetize online video quickly and easily.

The Kaltura Community Office Hours are a great opportunity for developers to meet the core Kaltura team and ask questions about integration best practices that will help you write less code that does more. We have a loose but formal structure for the beginning of the meetings, that quickly lead to open discussion about all things online video and Kaltura. All questions are welcome—if you’re having an issue with any part of the Kaltura platform this is an excellent opportunity to tell the developers how we can better serve you.

Join us and bring any questions to the Office Hours Hangout!

August 9th, 2012

“Creating Value with Video” Series – Redman Technologies and Online Marketing (Video)

by Iddo Shai

Video is one of the hottest online trends today.  Countless white paperscase studies and tweets try to explain why video is the way to go. And while those communications are helpful, the best method to learn about the benefits of online video is to listen to the stories of companies that are already using it.

In the coming weeks, The Creating Value with Video Series will feature the stories of companies that harness the power of online video on a daily basis. They all see real ROI both in the bottom line and in employee  and customer  engagement.

Pt. 1 – Redman Technologies

Hailing from Alberta, Canada, Redman Technologies uses video to promote more than 1,000 real-estate websites. They leverage video in smart and innovative ways to create instant video slideshows and to improve SEO. In addition, they experiment with novel technologies like HTML5 to provide a better video experience to potential homebuyers.

By using a focused video and SEO strategy their sites rank high in search results and their customers are generating more leads and revenue. Learn exactly how they do it and what challenges they are still facing in the interview below.

To learn more about Redman Technologies and video SEO view this webinar.

Join us next week for the next edition of the Creating Value with Video Series. And if you found this video interesting, please share it. For more best practices and tutorials – visit our video center.