Documentation


Got Kaltura CE? Click here

Overview

Cent2Cent provides monetization integration with Kaltura.
After the integration process you will be able to charge for your Kaltura entries.
This guide will show you how to configure your Kaltura account and set up your player.

This integration process is fitted for both Kaltura CE and Kaltura SaaS service

Step 1 – Create & setup your Cent2Cent account

  1. Register Your Website
  2. Login to the Cent2Cent Platform Admin Console
  3. Select the Kaltura logo on the main page


  4. Login with your Kaltura credentials


  5. Select the movie you wish to charge for and the access control (no preview/10 seconds etc.)


  6. Select offers and click continue


Step2 - Install the plugin into your player

There are two ways to install the Plugin.

Install it within the Cent2Cent admin console

  1. Select the movie:
  2. Click on the "Didn’t Install our Kaltura Player Plug-in yet? click here to install it." link.
  3. Next time you will enter the page you will see the following screen.

Install it manually in the KMC

  1. Go to http://www.kaltura.com/index.php/kmc/kmc4#studio|playersList and click "edit" on the desired player.
  2. Click on the "Features" tab and then on the "Additional parameters and plugins" tab.
  3. Under Additional parameters and plugins, copy and paste the following variables:
    Parameter Value
    cent2cent.plugin true
    cent2cent.pathhttp://cdn.cent2cent.net/Plugin/Kaltura/cent2centPlugin.swf
    cent2cent.relativeToPlayerHolder
    cent2cent.positionlastChild
    cent2cent.height0%
    cent2cent.width0%
    cent2cent.entry{mediaProxy.entry}
    cent2cent.includeInLayoutfalse

    cent2cent.disableSeekAfterPreviewfalse
    * Kaltura Servers without CDN Connections or Streaming Server should set this to true

Step3 - Embed in your website

  1. Go to http://www.kaltura.com/index.php/kmc/kmc4#content|manage and select the content you wish to embed
  2. Click on "Preview & Embed" and select the player you have configured above
  3. Copy the embed code.
  4. Add WMODE attributes to the player. Both for the object as wmode="opaque" and also as a parameter
    <param name="wmode" value="opaque" />

    The modified code should look like: (notice the 2 places where wmode has been added)
    <object id="kaltura_player_1310454831" name="kaltura_player_1310454831" 
            type="application/x-shockwave-flash" allowFullScreen="true" allowNetworking="all" allowScriptAccess="always" 
            height="330" width="500" bgcolor="#000000" xmlns:dc="http://purl.org/dc/terms/" 
            xmlns:media="http://search.yahoo.com/searchmonkey/media/" rel="media:video" 
            resource="http://www.kaltura.com/index.php/kwidget/cache_st/1310454831/wid/_325801/uiconf_id/4718192/entry_id/1_hn7q7ref"
            data="http://www.kaltura.com/index.php/kwidget/cache_st/1310454831/wid/_325801/uiconf_id/4718192/entry_id/1_hn7q7ref" 
            wmode="opaque">
        <param name="wmode" value="opaque" />
        <param name="allowFullScreen" value="true" />
        <param name="allowNetworking" value="all" />
        <param name="allowScriptAccess" value="always" />
        <param name="bgcolor" value="#000000" />
        <param name="flashVars" value="&" />
        <param name="movie" value="http://www.kaltura.com/index.php/kwidget/cache_st/1310454831/wid/_325801/uiconf_id/4718192/entry_id/1_hn7q7ref" />
    </object>

  5. Vertical playlists must place the following code:
    <script type="text/javascript">
    var c2cVideoParams = { orientation: "vertical", left: "0px", top: "0px" };
    </script>
  6. This is how it will look if you embed it into your website.



If you experience problems with this process please contact support.