Kaltura MediaSpace

DocsAssets › Kaltura MediaSpace

Last updated: 28 Mar 2019 / 1:36 PM / GMT

Our monetization platform features a fully developed integration with Kaltura MediaSpace.


Before you start

To use the Kaltura MediaSpace integration successfully, please make sure that you have already connected your InPlayer and Kaltura accounts.

If you haven’t done this and are not sure on how to go about doing it, make sure to read our guide.

Kaltura MediaSpace setup

First, go into your Kaltura MediaSpace admin panel.

You can access the admin panel by going to your MediaSpace portal and typing /admin at the end of the URL.

Ex. https://myportal.mediaspace.kaltura.com/admin

Next, from the left-hand menu, click on the Auth tab.

Scroll down to the enable MultiAuth option and set it to Yes.

Then, scroll down to the authMethods section. You will need to set up two authMethods.

You can do that by clicking on .

In the first authMethod, select SSO Gateway AuthN as the method and in the second, select Kaltura AuthN.

What this does, is to set up an admin lock to your channels page, so that only users that can log in as Admins will be able to add content.

Next, scroll down do the SSO section.

In the loginURL field, enter the InPlayer MediaSpace App URL, making sure to first edit the parts in bold with your InPlayer merchant UUID and your MediaSpace domain URL:
https://mediaspace.inplayer.com/merchant-uuid?mediaspace=domain-url

Note: If you are using an InPlayer demo account, use this link instead:
https://staging-mediaspace.inplayer.com/merchant-uuid?mediaspace=domain-url

In the logoutURL enter the following, making sure to also first edit the parts in bold with your InPlayer merchant UUID and your MediaSpace domain URL:
https://mediaspace.inplayer.com/merchant-uuid?mediaspace=domain-url&logout=true

Note: If you are using an InPlayer demo account, use this link instead:
https://staging-mediaspace.inplayer.com/merchant-uuid?mediaspace=domainurl&logout=true

The merchant-uuid can be found in the account details of your InPlayer dashboard. It is listed as Account UUID.

The domain-url should be the URL where your MediaSpace portal is hosted.

Next, from the left-hand menu, go to the Ssogroupsync tab.

Set the enabled option to Yes.
Then click on .

Name the new privilege offerIds and leave the valueMappingType as Use privilege value as group name.

Finally, click the  button at the bottom.

Adding a custom tab to your MediaSpace menu

To make sure your customers have quick access to the page where all your assets are embedded, you can add a custom tab in your MediaSpace menu.

To do this, go into your Kaltura MediaSpace admin panel. As we mentioned before, you can access the admin panel by going to your MediaSpace portal and typing /admin at the end of the URL.
Ex. https://myportal.mediaspace.kaltura.com/admin

Go to the Navigation tab, scroll all the way down and click on .

In the new entry, set the type to Link and give your tab a name. In the value field enter the InPlayer MediaSpace App URL, which is the same link you previously entered in the SSO settings of your MediaSpace admin panel:
https://mediaspace.inplayer.com/merchant-uuid?mediaspace=domain-url
Remember to first edit the parts in bold with your InPlayer merchant UUID and your MediaSpace domain URL.

Finally, click the  button at the bottom.

The new tab will now appear on your MediaSpace menu:

The final step is to protect your MediaSpace content by creating an asset.

Creating the asset

Go to the Assets tab of your InPlayer Dashboard and click on .

Select  Video.

Click on MediaSpace.

On the new page, you can set up your asset’s properties.

In the Name field at the top, enter a name for your asset.

In the Add Description block, set up the preview image, title and description, as well as the text for the BUY button. These will be the details that will appear on the actual asset preview when you embed it on your webpage.

Note that the Title will also appear on the final payment form on the paywall, as well as the notification emails your customers will receive.

In the Price Options block, set up the pricing.

  • In the Access Fee Description field, enter the price description that will appear on the paywall.
  • In the Access type field, select from the available price options:
    ppv is a one-time payment pass that expires after the end of the pre-specified period counted from the moment of purchase,
    subscription is a recurring payment that is renewed automatically,
    freemium unlimited gives free access to the video, without requiring a payment,
    ppv custom is a one-time payment pass that expires on a specified date.
  • In the Price field, enter the price.
  • In the Currency field, select the currency.

In the The Asset block, enter your MediaSpace domain URL, without the https:// or http:// part.

In the Restrictions block, set up any geographic or domain-based restrictions for the asset.

You can learn more about setting up the restrictions here and here.
When you’re done, click the  button at the top right.

Linking the asset with a Kaltura Channel

Once you have your InPlayer asset, it is time to link it to a Kaltura Channel.

First, make sure that your channel is set as Private.

Then, go to the InPlayer MediaSpace App URL, which is the same link you previously entered in the SSO settings of your MediaSpace admin panel:
https://mediaspace.inplayer.com/merchant-uuid?mediaspace=domain-url
Remember to first edit the parts in bold with your InPlayer merchant UUID and your MediaSpace domain URL.

Here, you will see the InPlayer asset you have just created.

Click on it, log in, and make a purchase. You can use a 100% discount code so you don’t have to actually pay anything, or you can contact us and we will make sure to refund the paid amount.

Upon you making this first purchase, a Kaltura user group will be automatically created.

Next, go to your Kaltura KMC dashboard.

Go to the CATEGORIES tab and click the channel you wish to link to the InPlayer asset.

On the left-hand menu, click Entitlements, scroll down to the bottom and click on Manage Users.

Click on .

Go back to the InPlayer Dashboard, go to the Assets tab, copy the Asset ID from the asset you wish to link to this channel and paste it in the Select End-Users filed.
Press Enter on your keyboard and then click .

And with that, you’re done!

Do the same steps for every individual channel you wish to monetize.

Customer Experience

  1. A customer comes to your MediaSpace portal and clicks on the tab where you’ve embedded your assets:
    Once there, they click on the asset they wish to purchase.
  2. The paywall appears, they click on  and fill out the register form.
  3. On the next screen, they select one of the available price options for that asset.
  4. If there’s only one price option available, instead of the price selection screen, they are immediately forwarded to the final payment screen, where they enter their credit card or PayPal information.

    They finish the purchase by clicking .
  5. The following message appears, where the customer can choose to either purchase more channels, or go straight to their list of purchased channels.

    To log into an already purchased channel, a customer just needs to go to the tab where you’ve embedded your assets, click on the asset they purchased, and log in.After logging in, they will be forwarded to their list of purchased channels.

Removing the InPlayer Integration

If you ever wish to remove the integration, just set back all the settings in the Kaltura admin panel  to their default states by doing the following:

In the Auth tab:
Under SSO, delete the loginurl and logouturl links.
Under Auth Adapters, set the authNAdapter and authZAdapter values to Kaltura AuthN.

In the Ssogroupsync tab:
Set the module to enabled: NO
Delete the whole offerIds privilege.

For more information about the ins and outs of Kaltura MediaSpace read Introduction to Authentication and Authorization Solutions 5.x.

For any questions, don’t hesitate to contact us on support@inplayer.com.

We use cookies to analyse our traffic. We also share information about your use of our site with our analytics partners. See details